public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12313] New: GDB cannot differentiate symbols of copies of shared libraries
@ 2010-12-13  3:19 avi at checkpoint dot com
  0 siblings, 0 replies; only message in thread
From: avi at checkpoint dot com @ 2010-12-13  3:19 UTC (permalink / raw)
  To: gdb-prs

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

           Summary: GDB cannot differentiate symbols of copies of shared
                    libraries
           Product: gdb
           Version: 7.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: avi@checkpoint.com


There are cases when a program needs to have multiple instances of the same
text residing in different virtual addresses. This is implemented by loading
different copies of the object file using dlopen().

Currently there is no way for GDB to refer to a symbol in a specific copy of
the object file (other then referring to the specific address). 
Addressing this need can be done by supporting the spec:
#<shared object name>#<function>. E.g. "#libfoo.so#function" (DBX supports this
need by qualifying `<shared object name>`<function name>).

Please note that this feature is required not only for defining breakpoints but
for other needs as well such as disassembly, backtrace etc.

-- 
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] only message in thread

only message in thread, other threads:[~2010-12-12 11:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-13  3:19 [Bug gdb/12313] New: GDB cannot differentiate symbols of copies of shared libraries avi at checkpoint 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).