Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sourceware.org
Subject: Re: Debugging a frameless function
Date: Wed, 29 Apr 2009 19:23:00 -0000	[thread overview]
Message-ID: <20090429191216.GA30562@caradoc.them.org> (raw)
In-Reply-To: <83ws93cmp0.fsf@gnu.org>

On Wed, Apr 29, 2009 at 09:57:31PM +0300, Eli Zaretskii wrote:
> > Sounds like the debug info is bad.
> 
> But then why does GDB 6.1 have no problems debugging the same binary?

I have no idea.

> > Check manually, using readelf -wi (and -wo if location lists are in
> > use).
> 
> I cannot use readelf, because DJGPP executables are not ELF files.

Objdump has similar options, if your binutils is recent enough.  I
don't know how recent that is.  I believe it's objdump -W.

Mark's got a good point - some older GCC's just botch the debug info.
What compiler are we looking at here?

-- 
Daniel Jacobowitz
CodeSourcery


  parent reply	other threads:[~2009-04-29 19:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 18:39 Eli Zaretskii
2009-04-29 18:54 ` Daniel Jacobowitz
2009-04-29 19:09   ` Eli Zaretskii
2009-04-29 19:12     ` Mark Kettenis
2009-04-29 20:44       ` Eli Zaretskii
2009-05-02  9:23       ` Eli Zaretskii
2009-04-29 19:23     ` Daniel Jacobowitz [this message]
2009-04-29 19:24       ` Eli Zaretskii
2009-05-02  9:17       ` Eli Zaretskii
2009-04-29 18:57 ` Mark Kettenis

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=20090429191216.GA30562@caradoc.them.org \
    --to=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    /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