This is the mail archive of the gdb-testers@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I made a patch to gdb 4.17 for better support for shared libraries: o Gdb can track shared libraries linked at runtime with dlopen() and dlclose() as they're moving around memory. o Shared libraries breakpoints show as such in the 'info breakpoint' command. o Other minor nitpicks. Warning, this patch is very crufty, I know very little about gdb. However it works (I've seen that sometimes a disabled breakpoint in a shared library goes away when restarting the program, but couldn't reproduce the problem reliably). Breakpoints at fixed PC address in shared libraries are not relocated correctly when the shared library is moved. I plan to cleanup more before submitting the patch for inclusion, but it's available on: ftp://ftp.fifi.org/pub/phil/gdb.diffs.gz Note: it might apply to the pristine 4.17 source tree with some offsets, but no diff hunks should fail. Phil.