This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/3] Test adding and removing a symbol file at runtime.
- From: Tom Tromey <tromey at redhat dot com>
- To: Nicolas Blanc <nicolas dot blanc at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 23 Apr 2013 14:38:44 -0600
- Subject: Re: [PATCH 2/3] Test adding and removing a symbol file at runtime.
- References: <1366098721-18302-1-git-send-email-nicolas dot blanc at intel dot com> <1366098721-18302-4-git-send-email-nicolas dot blanc at intel dot com> <871ua1ouzr dot fsf at fleche dot redhat dot com>
>>>>> "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