This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [0/8] solib handler rework
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: brobecker at adacore dot com (Joel Brobecker)
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 22 Oct 2007 22:25:12 +0200 (CEST)
- Subject: Re: [0/8] solib handler rework
Joel Brobecker wrote:
> Testing reveals no regression, but you couldn't break it more than it
> already is broken:
>
> (gdb) start
> Breakpoint 1 at 0x4000000000001218: file foo.c, line 6.
> Starting program: /[...]/foo
> Error trying to get information about dynamic linker.
>
> (that's before your patch) :-(
Huh. This error message is issued by solib-pa64.c if the initial
dlgetmodinfo call (with index -1) fails. The docs I can find:
http://docs.hp.com/en/B2355-60127/dlgetmodinfo.3C.html
say you can use dlerrno () to find out more details on that
failure ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com