From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4587 invoked by alias); 4 Sep 2004 23:30:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4571 invoked from network); 4 Sep 2004 23:30:50 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 4 Sep 2004 23:30:50 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id C931447D92; Sat, 4 Sep 2004 16:30:49 -0700 (PDT) Date: Sat, 04 Sep 2004 23:30:00 -0000 From: Joel Brobecker To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: your turn :-) Message-ID: <20040904233049.GX1216@gnat.com> References: <41390838.4050609@gnu.org> <20040904190742.GW1216@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040904190742.GW1216@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2004-09/txt/msg00081.txt.bz2 > I'll see if I can take care of this. Right now, GDB is completely > broken again. This change sort of patch things up a little bit > by preventing a SEGV. But we get some other problems that just > screw the testsuite run. The first problem that I saw was the following. Using advance.exp: (gdb) b func Breakpoint 1 at 0x10001600: file advance.c, line 18. (gdb) run Starting program: /chico.a/brobecke/mips-inline/gdb-public/gdb/testsuite/gdb.bas e/advance Breakpoint 1, func () at advance.c:18 18 x = x + 5; (gdb) advance func3 warning: GDB can't find the start of the function at 0x3. GDB is unable to find the start of the function at 0x3 and thus can't determine the size of that function's stack frame. This means that GDB may be unable to access that stack frame, or the frames below it. This problem is most likely caused by an invalid program counter or stack pointer. However, if you think GDB should simply search farther back from 0x3 for code which looks like the beginning of a function, you can increase the range of the search using the `set heuristic-fence-post' command. zsh: 19433825 segmentation fault (core dumped) ../../gdb advance It turns out it was that heuristic_proc_desc problem I sent a patch for striking again. Forgot to apply my patch before starting the testsuite :-(. -- Joel