This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/9952] Feature Request: Cannot set pending breakpoints in DSOs (dynamic libraries) that are yet to be loaded.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]