[PATCH 0/7 V2] Range stepping

Yao Qi
2013-04-11T02:43:49Z

Hello,
This is the V2 of range stepping series. V1 can be found here
<http://sourceware.org/ml/gdb-patches/2013-03/msg00450.html>.

There are some updates in V2:

- Rebase patches on GDB trunk, and resolve conflicts.
- Use phex_nz instead of hexnumstr to get the address. It fixes a
bug on mips target when sending address to the remote target.
- Define an internalvar range_stepping_counter and increment it each
time GDB does range-stepping, so that in the test, we don't have to
turn 'remote debug' on and parse the RSP packets. During the test,
we find that it is unsafe to turn the debugging output on, because it
may blow up the gdb.log.

Patch 1,2,3,7 are unchanged.

The whole series is tested on x86_64-linux, native and gdbserver.

gdb/NEWS | 12 ++
gdb/doc/gdb.texinfo | 15 ++
gdb/gdbserver/gdbthread.h | 6 +
gdb/gdbserver/inferiors.c | 19 +++
gdb/gdbserver/linux-low.c | 38 +++++-
gdb/gdbserver/linux-low.h | 2 +
gdb/gdbserver/linux-x86-low.c | 7 +
gdb/gdbserver/server.c | 40 +++++
gdb/gdbserver/target.h | 6 +
gdb/gdbthread.h | 6 +
gdb/infrun.c | 6 +-
gdb/remote.c | 127 +++++++++++++++-
gdb/testsuite/gdb.base/range-stepping.c | 69 +++++++++
gdb/testsuite/gdb.base/range-stepping.exp | 222 ++++++++++++++++++++++++++++
gdb/testsuite/gdb.trace/range-stepping.c | 61 ++++++++
gdb/testsuite/gdb.trace/range-stepping.exp | 89 +++++++++++
16 files changed, 712 insertions(+), 13 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/range-stepping.c
create mode 100644 gdb/testsuite/gdb.base/range-stepping.exp
create mode 100644 gdb/testsuite/gdb.trace/range-stepping.c
create mode 100644 gdb/testsuite/gdb.trace/range-stepping.exp

--
1.7.7.6