multithreaded application gdb start script
Nenad Vukicevic
nenad@intrepid.com
Sun Dec 27 02:36:00 GMT 2009
I have an application that forks few processes and was wondering if gdb
script like the
one bellow is possible:
set pagination off
set target-async on
set non-stop on
set detach-on-fork off
b MPIR_i_am_starter
r
set MPIR_being_debugged=1
c&
[delay for all threads to start]
interrupt -a
thread apply all set MPIR_debug_gate=0
I am using the latest head version of gdb with multiprocessing support.
Thanks,
Nenad
More information about the Gdb
mailing list