This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix handling of "set sysroot foo"
- From: Tom Tromey <tromey at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Apr 2013 13:44:09 -0600
- Subject: Re: [RFA] Fix handling of "set sysroot foo"
- References: <yjt2ppxzsk97 dot fsf at ruffy2 dot mtv dot corp dot google dot com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> 2013-04-12 Doug Evans <dje@google.com>
Doug> * solist.h (struct target_so_ops): New member clear_solist.
Doug> * solib-svr4.c (svr4_clear_solist): New function.
Doug> (_initialize_svr4_solib): Set svr4_so_ops.clear_solist.
Doug> * solib.c (clear_solist): Renamed from free_so_symbols.
Doug> All callers updated. Call target clear_solist if it exists.
This looks reasonable to me.
How hard would it be to write a regression test for it?
Tom