in the list of expect statements.
+2002-06-24 Keith Seitz <keiths@redhat.com>
+
+ * lib/mi-support.exp (mi_gdb_test): Move expected pattern higher
+ in the list of expect statements.
+
2002-06-19 Keith Seitz <keiths@redhat.com>
* lib/mi-support.exp (mi_run_to_main): Use MIFLAGS to figure
gdb_exit
gdb_start
set result -1
+ }
+ -re "\[\r\n\]*($pattern)\[\r\n\]+$mi_gdb_prompt\[ \]*$" {
+ if ![string match "" $message] then {
+ pass "$message"
+ }
+ set result 0
}
-re "(${question_string})$" {
send_gdb "$response_string\n";
perror "\"$command\" is not a unique command name."
fail "$message"
set result 1
- }
- -re "\[\r\n\]*($pattern)\[\r\n\]+$mi_gdb_prompt\[ \]*$" {
- if ![string match "" $message] then {
- pass "$message"
- }
- set result 0
}
-re "Program exited with code \[0-9\]+.*$mi_gdb_prompt\[ \]*$" {
if ![string match "" $message] then {