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: Can the debugger get the sigaction table of the debugee?


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.
>


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