public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "John Van Horne" <jvh@tivo.com>
To: <gdb@sources.redhat.com>
Subject: Re: gdb 6.x 'next' does not work on mips-linux/mipsel-linux
Date: Fri, 22 Apr 2005 22:39:00 -0000	[thread overview]
Message-ID: <FD1AF2638CCA3044B61D2D778A4F204501D98A@corpexch10.Tivo.com> (raw)

I just posted a note on PR 1716 about my experience with this problem. Basically,
"next" on a dynamically linked library function fails for me using gdb 6.2.1, 6.3
and 6.3.50.20050420. I saw the previous posts in this thread that made it sound as
though this was fixed in the 20050104 snapshot. However I couldn't find that snapshot,
and the latest failed for me.

I've got gdb configured for mips-linux-gnu, and I'm using gcc-3.3.4 and binutils-2.15.
As a test I'm using testsuite/gdb.base/call-strs.exp. Version 6.3.50.20050420 fails
on the "next" at line 73 (strcpy) with this message:

warning: GDB can't find the start of the function at 0x400cf0.

    GDB is unable to find the start of the function at 0x400cf0
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 0x400cf0 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.
warning: GDB can't find the start of the function at 0x400cf0.
?? ()
 
The failure occurs both with native and remote debugging.
There's no failure when I "step" into "strcpy" and then finish it.

I'd be happy to provide any more information and would like to know if anyone's
working on this.

Thanks,
-John Van Horne
(not on mailing list, please cc jvh@tivo.com)

             reply	other threads:[~2005-04-22 22:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 22:39 John Van Horne [this message]
2005-04-25  6:22 ` Atsushi Nemoto
2005-04-25 13:05   ` Daniel Jacobowitz
2005-04-27 14:18     ` Daniel Jacobowitz
2005-04-27 16:00       ` Daniel Jacobowitz
2005-04-28 15:16         ` Atsushi Nemoto
2005-05-09  3:16         ` Atsushi Nemoto
2005-05-09  3:36           ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2005-04-27 16:36 John Van Horne
2004-12-24  9:32 Atsushi Nemoto
2005-01-04 20:30 ` Andrew Cagney
2005-01-06 10:37   ` Atsushi Nemoto
2005-01-07  1:12     ` Daniel Jacobowitz

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=FD1AF2638CCA3044B61D2D778A4F204501D98A@corpexch10.Tivo.com \
    --to=jvh@tivo.com \
    --cc=gdb@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).