From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22339 invoked by alias); 6 Apr 2010 08:28:21 -0000 Received: (qmail 22321 invoked by uid 22791); 6 Apr 2010 08:28:19 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45 X-Spam-Check-By: sourceware.org Received: from mail-pz0-f192.google.com (HELO mail-pz0-f192.google.com) (209.85.222.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Apr 2010 08:28:12 +0000 Received: by pzk30 with SMTP id 30so3701921pzk.12 for ; Tue, 06 Apr 2010 01:28:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.101.12 with HTTP; Tue, 6 Apr 2010 01:27:51 -0700 (PDT) In-Reply-To: <201003250850.o2P8omMF014478@glazunov.sibelius.xs4all.nl> References: <77f815bd1003232054w5b8ea922tea330cb6300e14bf@mail.gmail.com> <77f815bd1003241923m5bd1f055la0999a7dec76dc1e@mail.gmail.com> <201003250850.o2P8omMF014478@glazunov.sibelius.xs4all.nl> From: Hui Zhu Date: Tue, 06 Apr 2010 08:28:00 -0000 Received: by 10.143.27.1 with SMTP id e1mr2366162wfj.343.1270542491071; Tue, 06 Apr 2010 01:28:11 -0700 (PDT) Message-ID: Subject: Re: Can the debugger get the sigaction table of the debugee? To: Mark Kettenis , xingxing pan Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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-04/txt/msg00021.txt.bz2 PTRACE_GETSIGINFO? On Thu, Mar 25, 2010 at 16:50, Mark Kettenis wrot= e: >> 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 ptrac= e. >> > >> > Thank you. > > None of the Unix-like kernels that that I'm familliar with expose this > information. =A0Therefore, GDB cannot show it. >