GDB 7.7 introduced range stepping, in combination with the vCont remote protocol extension. This patch series includes support for these features and implements them for JTAG ICE mkII devices only, as we only have documentation for those.
Debugging, especially for single steps and function calls is greatly increased by this, comparable to AVRStudio on Windows.
This patch obsoletes 0004-Implement-range-stepping-GDB-7.7.patch.
Interrupts are ignored while range stepping if the --ignore-intr option is specified.
Otherwise, like in the original patch, gdb will break in the interrupt vector table.
Last edit: Cristiano De Alti 2015-08-17
This patch disables interrupts while stepping, like in AVR Studio.
Compared to using the --ignore-intr option,
this improves debugging speed because the target will not
break at every interrupt while running to end address or singly
stepping.
Note: EXPERIMENTAL. There are cases where restoring the interrupt
status is wrong. Read the detailed comments in the source code.