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: [PATCH v2] Fix argument passing in mi_run_cmd_full


On Mon 19 May 2014 03:39:09 PM EDT, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:
>
> Simon> 2014-05-13  Simon Marchi  <simon.marchi@ericsson.com>
> Simon> 	* lib/mi-support.exp (mi_run_cmd_full): Set arguments by calling
> Simon> 	"-exec-arguments" or "set args" before running the inferior.
>
> This patch causes a test failure here:

Ehh, that's what I get for not re-running the testsuite, even after a 
year. I will send something soon about that.

> Running ../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-start.exp ...
> FAIL: gdb.mi/mi-start.exp: run to main (unknown output after running)
>
> This failure isn't present in the previous revision.
>
> I've appended the relevant section of gdb.log in case that is helpful.
>
> Tom
>
> (gdb)
> 220-exec-run
> =thread-group-started,id="i1",pid="21201"
> =thread-created,id="1",group-id="i1"
> 220^running
> *running,thread-id="all"
> (gdb)
> mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="
> [0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="main",args=\[\],(?:file="[^
> ]*.*mi-start.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z
> ]:[^\n]*\\).*mi-start.c",line="[0-9]+"|from=".*mi-start.c")},thread-id="[0-9]+",
> stopped-threads=[^
> ]*
> (=thread-selected,id="[0-9]+"
> |=(?:breakpoint-created|breakpoint-deleted)[^
> ]+"
> )*[(]gdb[)]
> $
> =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x8
> 6-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-gro
> up="i1"
> =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name="
> /lib64/libm.so.6",symbols-loaded="0",thread-group="i1"
> =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name="
> /lib64/libc.so.6",symbols-loaded="0",thread-group="i1"
> =thread-exited,id="1",group-id="i1"
> =thread-group-exited,id="i1",exit-code="0"
> *stopped,reason="exited-normally"
> (gdb)
> got =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linu
> x-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread
> -group="i1"
> =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name="
> /lib64/libm.so.6",symbols-loaded="0",thread-group="i1"
> =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name="
> /lib64/libc.so.6",symbols-loaded="0",thread-group="i1"
> =thread-exited,id="1",group-id="i1"
> =thread-group-exited,id="i1",exit-code="0"
> *stopped,reason="exited-normally"
> (gdb)
>
> FAIL: gdb.mi/mi-start.exp: run to main (unknown output after running)



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