This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Can the debugger get the sigaction table of the debugee?
- From: Hui Zhu <teawater at gmail dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>, xingxing pan <forandom at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 6 Apr 2010 16:27:51 +0800
- Subject: Re: Can the debugger get the sigaction table of the debugee?
- References: <77f815bd1003232054w5b8ea922tea330cb6300e14bf@mail.gmail.com> <77f815bd1003241923m5bd1f055la0999a7dec76dc1e@mail.gmail.com> <201003250850.o2P8omMF014478@glazunov.sibelius.xs4all.nl>
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.
>