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]

Re: binary debugging and generate source of which that running


Dear Andrew Please attention to previous email...My mean is not
SIG...signal is a message that user emit it.
--mohsen
On Thu, 2011-07-07 at 13:32 +0100, Andrew Burgess wrote:
> On 07/07/2011 10:14, Mohsen Pahlevanzadeh wrote:
> > You suppose my program has 10 functions, and my program in running now
> > by gdb, i wanna know when i send signal x y z to my program, myprgram
> > call which function, So i need to a command same as list but immediately
> > print source of peace of running.
> 
> Maybe "handle" is what you want?
>    http://sourceware.org/gdb/current/onlinedocs/gdb/Signals.html#Signals
> 
> You can arrange to stop on each signal x, y, and z, then step into the 
> handlers for each as they arrive.
> 
> Andrew
> 

Attachment: signature.asc
Description: This is a digitally signed message part


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