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: [RFA] Fix handling of "set sysroot foo"


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.


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