public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix stop-on-solib event failures
@ 2019-08-21 15:58 Alan Hayward
  2019-08-21 15:58 ` [PATCH v2 1/3] Refactor svr4_create_solib_event_breakpoints Alan Hayward
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alan Hayward @ 2019-08-21 15:58 UTC (permalink / raw)
  To: gdb-patches; +Cc: nd, Alan Hayward

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)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-09-04 18:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 15:58 [PATCH v2 0/3] Fix stop-on-solib event failures Alan Hayward
2019-08-21 15:58 ` [PATCH v2 1/3] Refactor svr4_create_solib_event_breakpoints Alan Hayward
2019-08-21 15:58 ` [PATCH v2 3/3] Check arguments for all probes before using them Alan Hayward
2019-08-21 15:58 ` [PATCH v2 2/3] Use gdbarch for probe::get_argument_count Alan Hayward
2019-09-04 17:58   ` Sergio Durigan Junior
2019-09-04 18:00     ` Sergio Durigan Junior
2019-08-30 15:51 ` [PATCH v2 0/3] Fix stop-on-solib event failures Gary Benson
2019-09-02 13:20   ` Alan Hayward

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).