This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]