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: [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


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