This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [3/3] RFC: fix PR mi/8444
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: tromey at redhat dot com (Tom Tromey)
- Cc: pedro at codesourcery dot com (Pedro Alves), gdb-patches at sourceware dot org
- Date: Fri, 25 Nov 2011 17:08:01 +0100 (CET)
- Subject: Re: [3/3] RFC: fix PR mi/8444
Tom Tromey wrote:
> * gdb.mi/mi-solib.exp: New file.
> +mi_expect_stop solib-event .* .* .* .* .* "check for solib event"
This causes spurious failures for me, since that routine expects
output in this form:
mi_expect_stop: expecting: \*stopped,reason="solib-event",frame={addr="0x[0-9A-Fa-f]+",func=".*",args=\[.*\],file="[^ ]*.*",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*",line=".*"}.*,thread-id="[0-9]+",stopped-threads=[^ ]*
but we actually get
*stopped,reason="solib-event",frame={addr="0x7dfef93c",func="_dl_debug_state",args=[],from="/lib/ld.so.1"},thread-id="1",stopped-threads="all",core="4"
The difference is that we only see a "from=" instead of "file="/"fullname="/"line=" as the PC is in a system library, and I don't have debug info installed for those ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com