Re: how to attach to gdb forked child?

2008-02-17 Thread Simon 'corecode' Schubert
Jeremy C. Reed wrote: I am trying to figure out where an abort core dump in imake is coming from, so I do: For a core dump, you should be able to get a nice backtrace from the dump. (gdb) n 458 cppit(cleanedImakefile, Template, ImakefileC, tmpfd, tmpMakefile); (gdb) n So now I

how to attach to gdb forked child?

2008-02-14 Thread Jeremy C. Reed
I am trying to figure out where an abort core dump in imake is coming from, so I do: gdb /build/reed/tmp/pkgsrc/devel/imake/work.reed/imake-1.0.2/imake ... (gdb) break main Breakpoint 1 at 0x8048eb7: file imake.c, line 405. (gdb) run Starting program: /build/reed/tmp/pkgsrc/devel/imake/work.re