From: Eli Zaretskii <eliz@is.elta.co.il>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFC: support debug info in separate files
Date: Mon, 25 Nov 2002 22:34:00 -0000 [thread overview]
Message-ID: <Pine.SUN.3.91.1021126082512.23833G@is> (raw)
In-Reply-To: <vt2znrxt1k2.fsf@zenia.red-bean.com>
On 25 Nov 2002, Jim Blandy wrote:
> This patch, written by Alexander Larsson, allows GDB to use debug info
> that has been extracted into a separate executable file, using the
> "strip -f" command as provided in Ulrich Drepper's elfutils.
Does that mean this feature is not supported by GNU `strip'? If so, this
should be reflected in the docs.
> + debugfile = alloca (strlen (debug_file_directory) + 1
> + + strlen (dir)
> + + strlen (".debug/")
> + + strlen (basename)
> + + 1);
`.debug' is an invalid file name on DOS 8+3 filesystems (leading dots are
not allowed). For the benefit of users of the DJGPP port of GDB, I
suggest to allow an additional name, `_debug', as a substitute. Thus,
conditioned on __MSDOS__, GDB would look for `_debug' subdirectory if
`.debug' does not exist.
> diff -u -r1.131 gdb.texinfo
> --- gdb/doc/gdb.texinfo 11 Oct 2002 16:13:15 -0000 1.131
> +++ gdb/doc/gdb.texinfo 26 Nov 2002 03:42:46 -0000
The doco patch is approved, but please add at least one index entry that
leads to this information. Something like
@cindex separate debug info file
sounds appropriate.
> +@table @code
> +@kindex set debug-file-directory
> +@item set debug-file-directory @var{directory}
> +Set the global directory where @value{GDBN} searches for separate
> +debug files to @var{directory}.
> +@end table
A "@cindex global debug file directory" here would be good.
Thanks!
next prev parent reply other threads:[~2002-11-26 6:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-25 20:27 Jim Blandy
2002-11-25 22:34 ` Eli Zaretskii [this message]
2002-12-09 19:55 ` Jim Blandy
2002-12-10 12:19 ` Eli Zaretskii
2002-12-09 22:13 ` Elena Zannoni
2002-12-10 8:13 ` Andrew Cagney
2002-12-10 9:14 ` Elena Zannoni
2002-12-10 11:39 ` Andrew Cagney
2002-12-10 12:43 ` Eli Zaretskii
2002-12-14 16:48 ` Jim Blandy
2002-12-23 1:25 ` Jim Blandy
2002-12-23 1:58 ` [repost] " Jim Blandy
2002-12-23 6:59 ` Eli Zaretskii
2003-01-23 23:04 ` Jim Blandy
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=Pine.SUN.3.91.1021126082512.23833G@is \
--to=eliz@is.elta.co.il \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@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