public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14846] New: traceframes and shared libraries
@ 2012-11-15 14:53 palves at redhat dot com
2012-11-15 14:56 ` [Bug gdb/14846] " palves at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: palves at redhat dot com @ 2012-11-15 14:53 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14846
Bug #: 14846
Summary: traceframes and shared libraries
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: palves@redhat.com
Classification: Unclassified
Tracepoints and dynamic loading/unloading of shared libraries just don't mix up
well today. Consider e.g., your program dlopens a library, and you set a
tracepoint somewhere in the DSO. Then you tstart, and let the program
continue. The tracepoint it hit, and before you tstop, the program dlcloses
the library. You now tstop, and tfind to inspect the tracepoint hit, but that
will be broken, because the library is no longer loaded.
Inspecting traceframes in a sense is like inspecting a core dump. But with
traceframes, GDB doesn't have the complete picture of the state of the shared
libraries at the time the tracepoint was collected.
On GNU/Linux, it may be possible to collect enough of the dynamic linker
structures manually so that GDB can reconstruct the DSO list from a traceframe
back to what it was when the tracepoint was hit.
--
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] 2+ messages in thread
* [Bug gdb/14846] traceframes and shared libraries
2012-11-15 14:53 [Bug gdb/14846] New: traceframes and shared libraries palves at redhat dot com
@ 2012-11-15 14:56 ` palves at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: palves at redhat dot com @ 2012-11-15 14:56 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14846
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |14847
--
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] 2+ messages in thread
end of thread, other threads:[~2012-11-15 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15 14:53 [Bug gdb/14846] New: traceframes and shared libraries palves at redhat dot com
2012-11-15 14:56 ` [Bug gdb/14846] " palves 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).