[PATCH v2 0/3] Fix stop-on-solib event failures

Alan Hayward Alan.Hayward@arm.com
Wed Aug 21 15:58:00 GMT 2019


On some Arm targets (namely the buildbot Arm Docker setup) placing breakpoints
on just the solib dynamic probes will cause the target process to not stop.
This is due to the probes being invalid - see link in 3/3 for more details.

Fix is to fully validate the probes before using the,.

Patches 1 and 2 are code refactors. The actual fix is in patch 3.


Alan Hayward (3):
  Refactor svr4_create_solib_event_breakpoints
  Use gdbarch for probe::get_argument_count
  Check arguments for all probes before using them

 gdb/break-catch-throw.c |   2 +-
 gdb/dtrace-probe.c      |   4 +-
 gdb/probe.c             |   7 +-
 gdb/probe.h             |   2 +-
 gdb/solib-svr4.c        | 139 ++++++++++++++++++++--------------------
 gdb/stap-probe.c        |   6 +-
 6 files changed, 80 insertions(+), 80 deletions(-)

-- 
2.20.1 (Apple Git-117)



More information about the Gdb-patches mailing list