From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12369 invoked by alias); 25 Mar 2010 08:50:59 -0000 Received: (qmail 12359 invoked by uid 22791); 25 Mar 2010 08:50:58 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Mar 2010 08:50:53 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id o2P8onoD022149; Thu, 25 Mar 2010 09:50:49 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id o2P8omMF014478; Thu, 25 Mar 2010 09:50:48 +0100 (CET) Date: Thu, 25 Mar 2010 08:50:00 -0000 Message-Id: <201003250850.o2P8omMF014478@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: forandom@gmail.com CC: gdb@sourceware.org In-reply-to: <77f815bd1003241923m5bd1f055la0999a7dec76dc1e@mail.gmail.com> (message from xingxing pan on Thu, 25 Mar 2010 10:23:39 +0800) Subject: Re: Can the debugger get the sigaction table of the debugee? References: <77f815bd1003232054w5b8ea922tea330cb6300e14bf@mail.gmail.com> <77f815bd1003241923m5bd1f055la0999a7dec76dc1e@mail.gmail.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00202.txt.bz2 > Date: Thu, 25 Mar 2010 10:23:39 +0800 > From: xingxing pan > > Can anyone help? > > 2010/3/24 xingxing pan : > > 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.