Skip to content

{ Category Archives } GNU

GNU-related posts.

List active signal handlers with GDB

Listing active signal handlers (or dispositions) with GDB A colleague at Red Hat asked whether it is possible to get GDB to list the currently active signal handlers, aka the signal dispositions.  I.e., the actions taken by the inferior process on receipt of each specific signal. You could do it manually, like this, once for […]

A tale of inexplicable GDB racy FAILs

A few weeks ago I finally identified and addressed the origin of what was causing some inexplicable intermittent failures in a test I had added originally for all-stop-on-top-of-non-stop in the GDB buildbots for months: the testsuite sporadically kills the wrong process due to PID-reuse races — Fun! Read on for details of the investigation that […]

Tagged , , , , ,