From: Joel Brobecker <brobecker@gnat.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: your turn :-)
Date: Sat, 04 Sep 2004 23:30:00 -0000 [thread overview]
Message-ID: <20040904233049.GX1216@gnat.com> (raw)
In-Reply-To: <20040904190742.GW1216@gnat.com>
> 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
next prev parent reply other threads:[~2004-09-04 23:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-04 0:12 Andrew Cagney
2004-09-04 19:07 ` Joel Brobecker
2004-09-04 23:30 ` Joel Brobecker [this message]
2004-09-04 23:58 ` Andrew Cagney
2004-09-05 0:14 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040904233049.GX1216@gnat.com \
--to=brobecker@gnat.com \
--cc=cagney@gnu.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox