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: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 17 Apr 2013 15:44:32 -0700
- Subject: Re: [RFA] Fix handling of "set sysroot foo"
- References: <yjt2ppxzsk97 dot fsf at ruffy2 dot mtv dot corp dot google dot com>
On Fri, Apr 12, 2013 at 10:59 AM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> We were getting bogus backtraces from a core dump because
> gdb was using the wrong load address for libc.
>
> ...
>
> Ok to check in?
>
> 2013-04-12 Doug Evans <dje@google.com>
>
> * solist.h (struct target_so_ops): New member clear_solist.
> * solib-svr4.c (svr4_clear_solist): New function.
> (_initialize_svr4_solib): Set svr4_so_ops.clear_solist.
> * solib.c (clear_solist): Renamed from free_so_symbols.
> All callers updated. Call target clear_solist if it exists.
Ping.