From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: binary.chen@gmail.com, gdb@sourceware.org
Subject: Re: When will the gcc not include full path in the debug info
Date: Mon, 20 Nov 2006 20:13:00 -0000 [thread overview]
Message-ID: <uejrxop00.fsf@gnu.org> (raw)
In-Reply-To: <20061120140556.GB31834@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 20 Nov 2006 09:05:56 -0500)
> Date: Mon, 20 Nov 2006 09:05:56 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org
> >
> > In GDB manual, section "Specifying source directories", it says
> > "Executable programs sometimes do not record the directories of the
> > source files from which they were compiled, just the names."
> >
> > I am curious when will this rule take effect? I have checked the gcc
> > man page, seems no ways to let it use only the file name instead full
> > path.
>
> It depends what compiler you're using. I don't know any way to make
> GCC do this
IIRC, there _is_ a way to do this: use COFF debug info (if you can).
It has place only for the file name, not the leading directories.
next prev parent reply other threads:[~2006-11-20 20:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 13:41 Bin Chen
2006-11-20 14:06 ` Daniel Jacobowitz
2006-11-20 20:13 ` Eli Zaretskii [this message]
2006-11-20 20:18 ` 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=uejrxop00.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=binary.chen@gmail.com \
--cc=drow@false.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