This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Fun with LD_PRELOAD
- From: ludo at gnu dot org (Ludovic CourtÃs)
- To: Doug Evans <xdje42 at gmail dot com>
- Cc: guile-user at gnu dot org, "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 04 Feb 2014 12:21:15 +0100
- Subject: Re: Fun with LD_PRELOAD
- Authentication-results: sourceware.org; auth=none
- References: <CAP9bCMRsRrqEYG+7jS-m2EOhByAB+9hTFUuikoNJeJpxGATu5Q at mail dot gmail dot com>
Hi, Doug,
Doug Evans <xdje42@gmail.com> skribis:
> It's kinda useful to see the system call tracing amongst gdb's own
> debug output, but my real goal is to explore ways of exercising gdb
> that are otherwise harder to do.
> With this I can script what happens when gdb does ptrace,waitpid,tkill,etc.
> Whether this exploration yields anything useful ... TBD.
Looks fun. So the main application would be to stress-test GDB and see
if it misses signals sent to application threads right when GDB is about
to stop them, for example, right?
Cheers,
Ludoâ.