Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Allen Hopkins <allenh@eecs.berkeley.edu>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: bogus bkpt, using #line directives
Date: Thu, 02 Dec 2004 20:58:00 -0000	[thread overview]
Message-ID: <20041202205754.GA11651@nevyn.them.org> (raw)
In-Reply-To: <41AF543D.9060804@eecs.berkeley.edu>

On Thu, Dec 02, 2004 at 09:43:25AM -0800, Allen Hopkins wrote:
> The program is very complex & I haven't yet been able to 
> make a simple test case to demonstrate this.  I'm sort of 
> desperately hoping this looks familiar to somebody who can 
> offer me some hope, or suggestions.  I'm left wondering if I 
> have to debug gdb, but I'd be in really unfamiliar territory.

Start by debugging GCC's generated line table.  If you're using
DWARF-2, you can print it with readelf -wl.  Does it put line markers
in sensible places?

-- 
Daniel Jacobowitz


      reply	other threads:[~2004-12-02 20:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02 17:43 Allen Hopkins
2004-12-02 20:58 ` Daniel Jacobowitz [this message]

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=20041202205754.GA11651@nevyn.them.org \
    --to=drow@false.org \
    --cc=allenh@eecs.berkeley.edu \
    --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