From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6796 invoked by alias); 5 Apr 2004 22:48:53 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6665 invoked from network); 5 Apr 2004 22:48:49 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Apr 2004 22:48:49 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i35Mmm5F027185 for ; Mon, 5 Apr 2004 18:48:48 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i35Mmmj07464; Mon, 5 Apr 2004 18:48:48 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0C92F2B92; Mon, 5 Apr 2004 18:48:51 -0400 (EDT) Message-ID: <4071E252.1060904@gnu.org> Date: Mon, 05 Apr 2004 22:48:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Mark Kettenis Cc: gdb@sources.redhat.com Subject: Re: Stepping through signal trampolines References: <200403251333.i2PDXSq7006981@elgar.kettenis.dyndns.org> <40630083.7020500@gnu.org> In-Reply-To: <40630083.7020500@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00035.txt.bz2 On GNU/Linux, stepi appears to work, but nexti appears to skip a frame: (gdb) PASS: gdb.base/siginfo.exp: continue to nexti handler bt #0 handler (sig=26, info=0xbfffd550, context=0xbfffd5d0) at /home/cygnus/cagney /PENDING/2004-03-31-sigstack/src/gdb/testsuite/gdb.base/siginfo.c:11 #1 #2 main () at /home/cygnus/cagney/PENDING/2004-03-31-sigstack/src/gdb/testsuite /gdb.base/siginfo.c:46 (gdb) PASS: gdb.base/siginfo.exp: backtrace for nexti nexti 12 } /* handler */ 1: x/i $pc 0x80483f9 : leave (gdb) nexti 0x080483fa in handler (sig=1, info=0xbfffd9f4, context=0xbfffd9fc) at /home/cygn us/cagney/PENDING/2004-03-31-sigstack/src/gdb/testsuite/gdb.base/siginfo.c:12 12 } /* handler */ 1: x/i $pc 0x80483fa : ret (gdb) nexti main () at /home/cygnus/cagney/PENDING/2004-03-31-sigstack/src/gdb/testsuite/gdb .base/siginfo.c:46 46 while (!done); 1: x/i $pc 0x8048483 : mov 0x8049680,%eax (gdb) FAIL: gdb.base/siginfo.exp: nexti out of handler (in main) more debugging, but at least there's a test case. Andrew