From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13020 invoked by alias); 23 Apr 2004 18:15:16 -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 13005 invoked from network); 23 Apr 2004 18:15:15 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Apr 2004 18:15:15 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BH5Ck-00041h-QR; Fri, 23 Apr 2004 14:15:14 -0400 Date: Fri, 23 Apr 2004 18:35:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb@sources.redhat.com, cagney@redhat.com Subject: Re: New test failures - observer.exp, sigaltstack.exp, siginfo.exp Message-ID: <20040423181514.GA15437@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb@sources.redhat.com, cagney@redhat.com References: <20040416151243.GA31255@nevyn.them.org> <40895A36.70005@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40895A36.70005@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00152.txt.bz2 On Fri, Apr 23, 2004 at 02:02:30PM -0400, Andrew Cagney wrote: > >These new tests are all failing on my i686-pc-linux-gnu system. > > > >sigaltstack.exp fails like this: > > > >finish > >Run till exit from #0 catcher (signal=26) at > >/opt/src/gdb/src/gdb/testsuite/gdb.base/sigaltstack.c:71 > >Warning: > >Cannot insert breakpoint 0. > >Error accessing memory address 0xffffe420: Input/output error. > >(gdb) FAIL: gdb.base/sigaltstack.exp: finish from catch LEAF > > > >The problem is that the signal trampoline is read-only. We can't set > >software breakpoints there. I suspect there is no way to do this portably. > >Should we skip it instead, i.e. finish right to the place where the signal > >was raised? > > Which exact kernel version? As I mentioned in another post, this works > for me .... 2.6.5. If you're using a 2.4-era kernel, it probably does not place the sigreturn trampoline in the vsyscall DSO area. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer