* [PATCH,testsuite] fix pending.exp failure with remote targets
@ 2009-11-13 19:12 Nathan Froyd
2009-11-13 19:34 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Froyd @ 2009-11-13 19:12 UTC (permalink / raw)
To: gdb-patches
The patch below fixes a problem with pending.exp. pending.exp uses a
bare 'run' to start execution of the test, which is not appropriate for
remote targets like gdbserver. The patch fixes this by using
gdb_run_cmd to start execution of the test.
Tested with cross to powerpc-linux-gnu. OK to commit?
-Nathan
* gdb.base/pending.exp: Use gdb_run_cmd to start the program
instead of a bare "run".
Index: gdb.base/pending.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/pending.exp,v
retrieving revision 1.16
diff -u -u -r1.16 pending.exp
--- gdb.base/pending.exp 3 Jan 2009 05:58:03 -0000 1.16
+++ gdb.base/pending.exp 13 Nov 2009 19:10:19 -0000
@@ -71,7 +71,10 @@
gdb_load_shlibs $lib_sl
set pendfunc1_loc [gdb_get_line_number "y = x + 4" ${libfile}.c]
-gdb_test "run" \
+
+gdb_run_cmd
+
+gdb_test "" \
".*Breakpoint.*pendfunc1.*at.*pendshr.c:$pendfunc1_loc.*y = x \\+ 4.*" \
"run to resolved breakpoint 1 (without symbols)"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH,testsuite] fix pending.exp failure with remote targets
2009-11-13 19:12 [PATCH,testsuite] fix pending.exp failure with remote targets Nathan Froyd
@ 2009-11-13 19:34 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2009-11-13 19:34 UTC (permalink / raw)
To: Nathan Froyd; +Cc: gdb-patches
On Fri, Nov 13, 2009 at 11:12:37AM -0800, Nathan Froyd wrote:
> The patch below fixes a problem with pending.exp. pending.exp uses a
> bare 'run' to start execution of the test, which is not appropriate for
> remote targets like gdbserver. The patch fixes this by using
> gdb_run_cmd to start execution of the test.
>
> Tested with cross to powerpc-linux-gnu. OK to commit?
>
> -Nathan
>
> * gdb.base/pending.exp: Use gdb_run_cmd to start the program
> instead of a bare "run".
OK.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-13 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-13 19:12 [PATCH,testsuite] fix pending.exp failure with remote targets Nathan Froyd
2009-11-13 19:34 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox