* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".
+2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
+ (runto): Catch "The target does not support running in non-stop mode.".
+
2010-06-11 Michael Snyder <msnyder@vmware.com>
* gdb.base/setshow.exp (set language asm): Don't use
exp_continue
}
-notransfer -re "Starting program: \[^\r\n\]*" {}
+ -notransfer -re "$gdb_prompt $" {
+ # There is no more input expected.
+ }
}
}
-re "Breakpoint \[0-9\]*, \[0-9xa-f\]* in .*$gdb_prompt $" {
return 1
}
+ -re "The target does not support running in non-stop mode.\r\n$gdb_prompt $" {
+ unsupported "Non-stop mode not supported"
+ return 0
+ }
-re "$gdb_prompt $" {
fail "running to $function in runto"
return 0