[PATCH 0/3] Fix "set breakpoint always-inserted" + gdbserver
Pedro Alves
pedro@palves.net
Fri Nov 27 22:19:55 GMT 2020
This series fixes all the regressions seen when running the testsuite
against x86-64 GNU/Linux gdbserver with "set breakpoint
always-inserted on", like so:
$ make check-parallel -jN \
RUNTESTFLAGS="--target_board=native-gdbserver GDBFLAGS='-ex set\ breakpoint\ always-inserted\ on'"
compared with results of a normal gdbserver run:
$ make check-parallel -jN \
RUNTESTFLAGS="--target_board=native-gdbserver"
I also looked at native target results, and there there's nothing to
fix.
Pedro Alves (3):
GDBserver and vfork's child/parent shared address spaces
Fix record-full with "set breakpoint always-inserted on"
Fix gdb.base/dprintf.exp and gdbserver + breakpoints always-inserted
gdb/breakpoint.c | 21 ++-
gdb/breakpoint.h | 2 -
gdb/record-full.c | 129 +------------------
gdb/testsuite/gdb.base/dprintf.exp | 21 ++-
gdb/testsuite/gdb.base/foll-vfork.exp | 16 ++-
.../gdb.reverse/break-always-inserted.exp | 141 +++++++++++++++++++++
gdbserver/inferiors.cc | 7 +-
gdbserver/inferiors.h | 62 +++++++--
gdbserver/linux-low.cc | 30 +++--
gdbserver/linux-low.h | 6 +-
gdbserver/mem-break.cc | 98 +++++++-------
11 files changed, 309 insertions(+), 224 deletions(-)
create mode 100644 gdb/testsuite/gdb.reverse/break-always-inserted.exp
base-commit: 3df8c6afdd6d38a7622ff5f4b1a64aff80334ab9
--
2.14.5
More information about the Gdb-patches
mailing list