Re: Fun with LD_PRELOAD

2014-02-05 Thread Doug Evans
On Tue, Feb 4, 2014 at 3:21 AM, Ludovic Courtès wrote: > Hi, Doug, > > Doug Evans 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 w

Re: Fun with LD_PRELOAD

2014-02-04 Thread Ludovic Courtès
Hi, Doug, Doug Evans 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

Fun with LD_PRELOAD

2014-02-02 Thread Doug Evans
Hi. Here's my system-call wrapping module for gdb+guile. At this point it's just a prototype, and an initial one at that. 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 thi