public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/14479] New: no way to request gdb to load separate debuginfo
@ 2012-08-16 15:58 tromey at redhat dot com
  2012-08-22 15:08 ` [Bug symtab/14479] " palves at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-08-16 15:58 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 14479
           Summary: no way to request gdb to load separate debuginfo
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: symtab
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


I was debugging a program.
gdb suggested I install some separate debuginfo packages
(I think this is a Fedora extension -- but it doesn't matter
since the problem here is generic).
I wanted one of these, so in a separate window I ran debuginfo-install.

At this point I wanted to tell gdb to try again to load the
separate debuginfo.  However, there's no convenient way to do this.
"sharedlibrary" doesn't work.
"add-symbol-file" might work but it is a pain.

I think the simplest would be to make "sharedlibrary" do it.

-- 
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] 4+ messages in thread

* [Bug symtab/14479] no way to request gdb to load separate debuginfo
  2012-08-16 15:58 [Bug symtab/14479] New: no way to request gdb to load separate debuginfo tromey at redhat dot com
@ 2012-08-22 15:08 ` palves at redhat dot com
  2012-08-22 16:05 ` tromey at redhat dot com
  2013-06-07 16:54 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: palves at redhat dot com @ 2012-08-22 15:08 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

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

--- Comment #1 from Pedro Alves <palves at redhat dot com> 2012-08-22 15:08:33 UTC ---
For completeness, "sharedlibrary" might not, but I guess
"nosharedlibrary+sharedlibrary" would work.

-- 
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] 4+ messages in thread

* [Bug symtab/14479] no way to request gdb to load separate debuginfo
  2012-08-16 15:58 [Bug symtab/14479] New: no way to request gdb to load separate debuginfo tromey at redhat dot com
  2012-08-22 15:08 ` [Bug symtab/14479] " palves at redhat dot com
@ 2012-08-22 16:05 ` tromey at redhat dot com
  2013-06-07 16:54 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-08-22 16:05 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-08-22 16:05:19 UTC ---
(In reply to comment #1)
> For completeness, "sharedlibrary" might not, but I guess
> "nosharedlibrary+sharedlibrary" would work.

Yeah, I thought of that (much) later.
It seems obscure though.

-- 
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] 4+ messages in thread

* [Bug symtab/14479] no way to request gdb to load separate debuginfo
  2012-08-16 15:58 [Bug symtab/14479] New: no way to request gdb to load separate debuginfo tromey at redhat dot com
  2012-08-22 15:08 ` [Bug symtab/14479] " palves at redhat dot com
  2012-08-22 16:05 ` tromey at redhat dot com
@ 2013-06-07 16:54 ` tromey at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-06-07 16:54 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Tom Tromey <tromey at redhat dot com> ---
I happened to try this today.
The combo "nosharedlibrary" + "sharedlibrary .*" did work.
However, it made gdb forget my selected frame.
Perhaps a more targeted command could try harder to preserve
the selected frame.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2013-06-07 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-16 15:58 [Bug symtab/14479] New: no way to request gdb to load separate debuginfo tromey at redhat dot com
2012-08-22 15:08 ` [Bug symtab/14479] " palves at redhat dot com
2012-08-22 16:05 ` tromey at redhat dot com
2013-06-07 16:54 ` 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).