* Can the debugger get the sigaction table of the debugee?
@ 2010-03-24 3:54 xingxing pan
2010-03-25 2:23 ` xingxing pan
0 siblings, 1 reply; 4+ messages in thread
From: xingxing pan @ 2010-03-24 3:54 UTC (permalink / raw)
To: gdb
Can the debugger get the sigaction table of the debugee? when the user
wanna know the handler function of a specific signal.
It seems GDB can only get the siginfo struct through the syscall ptrace.
Thank you.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can the debugger get the sigaction table of the debugee?
2010-03-24 3:54 Can the debugger get the sigaction table of the debugee? xingxing pan
@ 2010-03-25 2:23 ` xingxing pan
2010-03-25 8:50 ` Mark Kettenis
0 siblings, 1 reply; 4+ messages in thread
From: xingxing pan @ 2010-03-25 2:23 UTC (permalink / raw)
To: gdb
Can anyone help?
2010/3/24 xingxing pan <forandom@gmail.com>:
> Can the debugger get the sigaction table of the debugee? when the user
> wanna know the handler function of a specific signal.
> It seems GDB can only get the siginfo struct through the syscall ptrace.
>
> Thank you.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can the debugger get the sigaction table of the debugee?
2010-03-25 2:23 ` xingxing pan
@ 2010-03-25 8:50 ` Mark Kettenis
2010-04-06 8:28 ` Hui Zhu
0 siblings, 1 reply; 4+ messages in thread
From: Mark Kettenis @ 2010-03-25 8:50 UTC (permalink / raw)
To: forandom; +Cc: gdb
> Date: Thu, 25 Mar 2010 10:23:39 +0800
> From: xingxing pan <forandom@gmail.com>
>
> Can anyone help?
>
> 2010/3/24 xingxing pan <forandom@gmail.com>:
> > Can the debugger get the sigaction table of the debugee? when the user
> > wanna know the handler function of a specific signal.
> > It seems GDB can only get the siginfo struct through the syscall ptrace.
> >
> > Thank you.
None of the Unix-like kernels that that I'm familliar with expose this
information. Therefore, GDB cannot show it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can the debugger get the sigaction table of the debugee?
2010-03-25 8:50 ` Mark Kettenis
@ 2010-04-06 8:28 ` Hui Zhu
0 siblings, 0 replies; 4+ messages in thread
From: Hui Zhu @ 2010-04-06 8:28 UTC (permalink / raw)
To: Mark Kettenis, xingxing pan; +Cc: gdb
PTRACE_GETSIGINFO?
On Thu, Mar 25, 2010 at 16:50, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
>> Date: Thu, 25 Mar 2010 10:23:39 +0800
>> From: xingxing pan <forandom@gmail.com>
>>
>> Can anyone help?
>>
>> 2010/3/24 xingxing pan <forandom@gmail.com>:
>> > Can the debugger get the sigaction table of the debugee? when the user
>> > wanna know the handler function of a specific signal.
>> > It seems GDB can only get the siginfo struct through the syscall ptrace.
>> >
>> > Thank you.
>
> None of the Unix-like kernels that that I'm familliar with expose this
> information. Therefore, GDB cannot show it.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-06 8:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-24 3:54 Can the debugger get the sigaction table of the debugee? xingxing pan
2010-03-25 2:23 ` xingxing pan
2010-03-25 8:50 ` Mark Kettenis
2010-04-06 8:28 ` Hui Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox