unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bruce Stephens <Bruce.Stephens@isode.com>
Subject: Re: new gdb/gdba code has bug with absolute source filenames
Date: Thu, 08 Jan 2004 11:11:07 +0000	[thread overview]
Message-ID: <84oeteae5w.fsf@cenderis.demon.co.uk> (raw)
In-Reply-To: <16381.12091.162795.324113@nick.uklinux.net> (Nick Roberts's message of "Thu, 8 Jan 2004 10:21:47 +0000")

Nick Roberts <nick@nick.uklinux.net> writes:

[...]

> I don't know if this is a bug in gdb or gcc or normal output. I
> don't see why gdb can't find the compilation directory from the
> executable. You used gcc version 3.3.3, is that a stable version?

No.  I get the same with Debian's gcc-3.2, which is 3.2.3 (possibly
with minor Debian patches).

>  > Perhaps I'm being naive, but it looks to me like gdb-source-info ought
>  > to be looking at "Located in ..." and just believing it.  (Possibly
>  > this wouldn't work for Windows or older gdbs or something.)
>
> It *does* use "Located in ...". Below is a patch that should work in your
> case. I'm not sure whether I should commit it to the repository though.

You're right.  I was suggesting it shouldn't be interested in the
compilation directory, but that probably *is* naive.

Your patch seems right to me, but I can understand your
uncertainty---this is probably something that shouldn't happen.

[...]

  reply	other threads:[~2004-01-08 11:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 22:43 new gdb/gdba code has bug with absolute source filenames Nick Roberts
2004-01-08  0:46 ` Bruce Stephens
2004-01-08 10:21   ` Nick Roberts
2004-01-08 11:11     ` Bruce Stephens [this message]
2004-01-08 10:27   ` Andreas Schwab
2004-01-08 11:04     ` Bruce Stephens
2004-01-08 10:21 ` Andreas Schwab
2004-01-08 12:28   ` Nick Roberts
2004-01-08 13:53     ` Bruce Stephens
  -- strict thread matches above, loose matches on Subject: below --
2004-01-08 22:04 Nick Roberts
2004-01-06 17:05 Bruce Stephens
2004-01-06 20:40 ` Andreas Schwab

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84oeteae5w.fsf@cenderis.demon.co.uk \
    --to=bruce.stephens@isode.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).