This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9952] Feature Request: Cannot set pending breakpoints in DSOs (dynamic libraries) that are yet to be loaded.
- From: "bauermann at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 4 Apr 2009 21:30:33 -0000
- Subject: [Bug breakpoints/9952] Feature Request: Cannot set pending breakpoints in DSOs (dynamic libraries) that are yet to be loaded.
- References: <20090313220305.9952.dyek@real.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From bauermann at sourceware dot org 2009-04-04 21:30 -------
GDB already supports pending breakpoints which are resolved when DSOs are
loaded. The only missing feature in your request is to be able to specify the
DSO name explicitly. Is my understanding correct here?
Do you think it's bad to specify the actual source code file where NP_Initialize
is defined? Or, if NP_Initialize is unique to one DSO, just NP_Initialize as in:
(gdb) b foo.c:NP_initialize
or
(gdb) b NP_initialize
In many cases, the DSO name will not be something neat like np.so, but really
np.so.0.2.1. You realise your feature wouldn't work in that case, right?
I'm asking this question to assess how useful it would be to add this new behaviour.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9952
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.