This is the mail archive of the gdb-patches@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: [PATCH 2/3] Test adding and removing a symbol file at runtime.


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> It seems simpler to do the test by using an ordinary .so and then
Tom> calling remove-symbol-file on it.  Then perhaps it could even work on
Tom> some non-ELF systems.  Would this not work for some reason?

Ok, I see.  Patch #1 enforces that the objfile must be OBJF_USERLOADED.
Is this restriction needed?  It seems to me that having
remove-symbol-file work as a limited form of "nosharedlibraries" would
be useful at times.

Tom


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