From: Elena Zannoni <ezannoni@redhat.com>
To: Nick Clifton <nickc@redhat.com>
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: RFC: strip --strip-nondebug
Date: Thu, 05 Jun 2003 19:19:00 -0000 [thread overview]
Message-ID: <16095.39199.714582.752069@localhost.redhat.com> (raw)
In-Reply-To: <m3fzmo8nez.fsf@redhat.com>
Nick Clifton writes:
> Hi Elena,
>
> > Nick, cool. Have you tried using gdb with the separate debug info
> > resulting from your command? It should work transparently, once you
> > set the debug directory, if needed.
> >
> > (gdb) help set debug-file-directory
> > Set the directory where separate debug symbols are searched for.
> > Separate debug symbols are first searched for in the same
> > directory as the binary, then in the `.debug' subdirectory,
> > and lastly at the path of the directory of the binary with
> > the global debug-file directory prepended
>
> Apparently not :-( Is there a good way to watch gdb try to find debug
> information and find out what is wrong ?
>
> Cheers
> Nick
>
Hmm, step through symfile.c:find_separate_debug_file, if the problem
seems to be locating the file. If the problem is that the file is
found, but the format is not ok, you should see symbol_file_add
getting called, with that file as one of the arguments. The you can
step through symbol_file_add. Is this Elf/dwarf2 you are testing or
something else? I think the gdb stuff was only tested on such a
combination, even though it should be generic.
elena
next prev parent reply other threads:[~2003-06-05 19:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-05 15:57 Nick Clifton
2003-06-05 16:06 ` Ian Lance Taylor
2003-06-05 16:24 ` Daniel Jacobowitz
2003-06-05 16:14 ` Andrew Cagney
2003-06-05 16:24 ` Elena Zannoni
2003-06-05 17:08 ` Nick Clifton
2003-06-05 19:19 ` Elena Zannoni [this message]
2003-06-06 11:17 ` Nick Clifton
2003-06-06 13:11 ` Elena Zannoni
2003-06-06 14:32 ` Nick Clifton
2003-06-06 14:51 ` Nick Clifton
2003-06-06 21:34 ` Andrew Cagney
2003-06-07 10:39 ` Nick Clifton
2003-06-07 15:37 ` Andrew Cagney
2003-06-05 18:29 ` Michael Snyder
2003-06-05 18:48 ` Daniel Jacobowitz
2003-06-05 19:06 ` Michael Snyder
2003-06-05 19:13 ` Elena Zannoni
2003-06-05 19:47 ` Nick Clifton
2003-06-05 19:54 ` Kris Warkentin
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=16095.39199.714582.752069@localhost.redhat.com \
--to=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=nickc@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