From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Fix bug in set substitute-patch
Date: Sat, 20 Jan 2007 20:34:00 -0000 [thread overview]
Message-ID: <20070120203439.GA27823@nevyn.them.org> (raw)
In-Reply-To: <20070112040310.GI537@adacore.com>
On Fri, Jan 12, 2007 at 08:03:10AM +0400, Joel Brobecker wrote:
> This should fix a bug reported by Daniel when the source file is
> compiled using absolute filenames.
>
> % gcc -c -o foo /path/to/foo.c
>
> As Daniel reported, what happens in this case is that the compiler
> puts the filename full path into the filename, and then leaves the
> dirname empty.
>
> 2007-01-12 Joel Brobecker <brobecker@adacore.com>
>
> * source.c (find_and_open_source): Try rewriting the source
> path inside filename if dirname is NULL.
>
> Tested on x86-linux, no regression.
> OK to apply?
OK, and thanks.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-01-20 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 4:02 Joel Brobecker
2007-01-20 20:34 ` Daniel Jacobowitz [this message]
2007-01-24 0:03 ` 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=20070120203439.GA27823@nevyn.them.org \
--to=drow@false.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@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