This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
SIGTRAP signal generated by gdb
- From: logitech <supriya dot rao17 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Thu, 2 Jun 2011 07:34:46 -0700 (PDT)
- Subject: SIGTRAP signal generated by gdb
Hi,
I have a doubt in the gdb source code. In the file target.c the status of
the target program is returned in the target_wait function (Line 2219). When
printed, the status printed is stopped and the signal is SIGTRAP during prog
execution.
My doubt is, where exactly is this SIGTRAP sent to the inferior (also who
sends it) and if gdb sends the signal then why does it do so more than once
(Because the inferior stops and resumes a number of times even in case of
normal "run")
Thanks
--
View this message in context: http://old.nabble.com/SIGTRAP-signal-generated-by-gdb-tp31758159p31758159.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.