Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: gdb@sourceware.org
Subject: Using separate debug info files with Windows DLLs
Date: Sat, 18 Aug 2018 13:23:00 -0000	[thread overview]
Message-ID: <83h8jrg65m.fsf@gnu.org> (raw)

Does the "debug link" method work with Windows DLLs produces by MinGW
GCC and GNU Binutils?

The "Separate Debug Files" node of the GDB manual talks only about
executables, and doesn't mention shared libraries.  If those methods
are supposed to work with shared libraries in general, and Windows
DLLs in particular, then I wonder (a) would the Windows loader live in
peace with the additional .gnu_debuglink section that needs to be put
there, and (b) when will GDB load the debug info using this method?

My use case is that I have an installed DLL which is stripped of its
symbols, but I need some of the debug information from the library to
display opaque data structures the library exposes to the calling
applications.

Thanks in advance for any help.


             reply	other threads:[~2018-08-18 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-18 13:23 Eli Zaretskii [this message]
2018-08-19 16:40 ` Tom Tromey
2018-08-19 16:55   ` Eli Zaretskii

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=83h8jrg65m.fsf@gnu.org \
    --to=eliz@gnu.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