public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug shlibs/12794] New: RFE: specifying debug information for shared libraries explicitly
@ 2011-05-20 19:29 bb.sourceware at magitech dot org
  2011-05-23  9:23 ` [Bug shlibs/12794] " gbenson at redhat dot com
  2013-03-15 15:25 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: bb.sourceware at magitech dot org @ 2011-05-20 19:29 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12794

           Summary: RFE: specifying debug information for shared libraries
                    explicitly
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: shlibs
        AssignedTo: unassigned@sourceware.org
        ReportedBy: bb.sourceware@magitech.org


Currently, specifying debug information for shared libraries borders on arcane.
 It is necessary to use strace, luck, and what essentially amounts to a chroot
environment to get all of the debug information located in the correct places,
especially if the binary is intended to run on a differently laid out device.

As such, once a binary file is specified, or a breakpoint has been reached post
load, it would be extremely nice to be able to specify either a direct path to
a symbol containing file (or an appropriate .debug file), and load it
explicitly.

Additionally, being able to say "try to load the symbols for this .so", and
have it report back all the locations it's trying, and a hint for how to
specify additional locations, would be extremely valuable.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug shlibs/12794] RFE: specifying debug information for shared libraries explicitly
  2011-05-20 19:29 [Bug shlibs/12794] New: RFE: specifying debug information for shared libraries explicitly bb.sourceware at magitech dot org
@ 2011-05-23  9:23 ` gbenson at redhat dot com
  2013-03-15 15:25 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: gbenson at redhat dot com @ 2011-05-23  9:23 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12794

Gary Benson <gbenson at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gbenson at redhat dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug shlibs/12794] RFE: specifying debug information for shared libraries explicitly
  2011-05-20 19:29 [Bug shlibs/12794] New: RFE: specifying debug information for shared libraries explicitly bb.sourceware at magitech dot org
  2011-05-23  9:23 ` [Bug shlibs/12794] " gbenson at redhat dot com
@ 2013-03-15 15:25 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2013-03-15 15:25 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12794

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-03-15 15:25:03 UTC ---
See also PR 14479.

One thing that might be handy is a new flag to add-symbol-file
that tells gdb to take the various section offsets from some
already existing objfile.  Like:

add-symbol-file /debug/libwhatever.so.debug -offsets-from
/usr/lib/libwhatever.so

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-15 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-20 19:29 [Bug shlibs/12794] New: RFE: specifying debug information for shared libraries explicitly bb.sourceware at magitech dot org
2011-05-23  9:23 ` [Bug shlibs/12794] " gbenson at redhat dot com
2013-03-15 15:25 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).