Skip to content

Monthly Archives: February 2012

Quick Multi-process Debugging Update

In my last post I mentioned that setting breakpoints is a pain when debugging multiple processes in GDB. While there are some bugs here (we’re actively working on them), it isn’t hard to make the basic case work.  In fact, there’s nothing to it.  Some background… Starting with GDB 7.4, we changed how basic breakpoint […]

Debugging multiple programs at once

Consider this Makefile: all: runit runit: crasher ./crasher crasher: crasher.c gcc -g -o crasher crasher.c And, here is the program it is building: int *x = 0; int main () { *x = 52; } Now, if you run “make“, eventually you will see a crash.  But how to debug the crash? Well, obviously, this […]