This is the mail archive of the gdb@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]

Re: How to load only selected libraries?


For historical reasons the Apple shared library handling code doesn't share the mechanisms that Linux/etc. use. So the majority of the code would have to be ported over from the macosx/*dyld* code, where it lives in our gdb, to the solib code in FSF gdb. I don't have any experience with the Linux solib code in gdb, so I'm not likely to tackle this.

I was offering this more as an interesting design point.

Jim


On Jan 26, 2008, at 6:52 AM, Srinath Avadhanula wrote:


Hi Jim,

On Jan 21, 2008 1:55 PM, Jim Ingham <jingham@apple.com> wrote:
We did this at Apple a while back.  We have a command "set
sharedlibrary load-rules" that works like:

[snip interesting explanation of this feature]

This sounds incredibly useful. Any idea if this will be incorporated
back into gdb itself?

Thanks,
Srinath


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