diff options
author | Tom Tromey <tromey@redhat.com> | 2011-03-07 16:03:04 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-03-07 16:03:04 +0000 |
commit | fda326dd1d341f03a75a36c8331b8cc8d1f637fa (patch) | |
tree | 25dbc87f9ddab9c55f82d9d97d0ab01c1b0c768f /gdb/testsuite/gdb.base | |
parent | aeaec16283729646a2269c53f64c2bc06096906b (diff) | |
download | gdb-fda326dd1d341f03a75a36c8331b8cc8d1f637fa.zip gdb-fda326dd1d341f03a75a36c8331b8cc8d1f637fa.tar.gz gdb-fda326dd1d341f03a75a36c8331b8cc8d1f637fa.tar.bz2 |
gdb
* infrun.c (print_exited_reason): Include inferior id and pid in
message.
gdb/testsuite
* lib/opencl.exp (skip_opencl_tests): Update for exit message
change.
* lib/mi-support.exp (mi_gdb_test): Update for exit message
change.
* lib/gdb.exp (gdb_test_multiple): Update comment. Update for
exit message change.
(skip_altivec_tests): Update for exit message change.
(skip_vsx_tests): Likewise.
(gdb_continue_to_end): Likewise. Add 'command' argument.
* lib/cell.exp (skip_cell_tests): Update for exit message change.
* gdb.threads/tls.exp: Update for exit message change.
* gdb.threads/thread-unwindonsignal.exp: Use
gdb_continue_to_end.
* gdb.threads/step.exp (step_it): Update for exit message change.
(continue_all): Likewise.
* gdb.threads/print-threads.exp (test_all_threads): Update for
exit message change.
* gdb.threads/interrupted-hand-call.exp: Use
gdb_continue_to_end.
* gdb.threads/execl.exp: Use gdb_continue_to_end.
* gdb.python/py-prettyprint.exp (run_lang_tests): Use
gdb_continue_to_end.
* gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
* gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
* gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
* gdb.cp/method.exp: Update for exit message change.
* gdb.cp/mb-templates.exp: Update for exit message change.
* gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
* gdb.cp/annota3.exp: Update for exit message change.
* gdb.cp/annota2.exp: Update for exit message change.
* gdb.cell/fork.exp: Use gdb_continue_to_end.
* gdb.base/term.exp: Update for exit message change.
* gdb.base/step-test.exp (test_i): Update for exit message change.
* gdb.base/sigstep.exp (advance): Update for exit message change.
(advancei): Likewise.
* gdb.base/siginfo.exp: Update for exit message change.
* gdb.base/shlib-call.exp: Use gdb_continue_to_end.
* gdb.base/reread.exp: Use gdb_continue_to_end.
* gdb.base/langs.exp: Use gdb_continue_to_end.
* gdb.base/interrupt.exp: Update for exit message change.
* gdb.base/gdb1555.exp: Update for exit message change.
* gdb.base/exe-lock.exp: Use gdb_continue_to_end.
* gdb.base/ending-run.exp: Update for exit message change.
* gdb.base/chng-syms.exp: Update for exit message change.
* gdb.base/checkpoint.exp: Update for exit message change.
* gdb.base/catch-syscall.exp (check_for_program_end): Use
gdb_continue_to_end.
(test_catch_syscall_with_wrong_args): Likewise.
* gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
* gdb.base/break-interp.exp (test_ld): Update for exit message
change.
* gdb.base/bang.exp: Update for exit message change.
* gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
(do_call_attach_tests): Likewise.
* gdb.base/a2-run.exp: Update for exit message change.
* gdb.arch/ppc-dfp.exp: Update for exit message change.
* gdb.ada/tasks.exp: Use gdb_continue_to_end.
* gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/a2-run.exp | 18 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/attach.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/bang.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/break-interp.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/call-signal-resume.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/catch-syscall.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/checkpoint.exp | 10 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/chng-syms.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/ending-run.exp | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/exe-lock.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/gdb1555.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/interrupt.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/langs.exp | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/reread.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/shlib-call.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/siginfo.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/sigstep.exp | 10 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/step-test.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/term.exp | 2 |
19 files changed, 42 insertions, 53 deletions
diff --git a/gdb/testsuite/gdb.base/a2-run.exp b/gdb/testsuite/gdb.base/a2-run.exp index d26a202..cb1e6fd 100644 --- a/gdb/testsuite/gdb.base/a2-run.exp +++ b/gdb/testsuite/gdb.base/a2-run.exp @@ -42,7 +42,7 @@ if [istarget "*-*-vxworks*"] then { set timeout 120 verbose "Timeout is now $timeout seconds" 2 gdb_expect { - "Program exited normally" { + "$inferior_exited_re normally" { unresolved "run \"$testfile\" with no args" } -re "usage: factorial <number>" { @@ -57,19 +57,19 @@ if [istarget "*-*-vxworks*"] then { gdb_expect -re "$gdb_prompt $" {} } else { gdb_expect { - -re ".*usage: factorial <number>.*Program exited with code 01\.\r\n$gdb_prompt $" { + -re ".*usage: factorial <number>.*$inferior_exited_re with code 01.\r\n$gdb_prompt $" { pass "run \"$testfile\" with no args" pass "no spurious messages at program exit" } - -re ".*usage: factorial <number>.*Program exited with code 01.*$gdb_prompt $" { + -re ".*usage: factorial <number>.*$inferior_exited_re with code 01.*$gdb_prompt $" { pass "run \"$testfile\" with no args" fail "no spurious messages at program exit" } - -re ".*usage: factorial <number>.* EXIT code 1.*Program exited normally\.\r\n$gdb_prompt $" { + -re ".*usage: factorial <number>.* EXIT code 1.*$inferior_exited_re normally.\r\n$gdb_prompt $" { pass "run \"$testfile\" with no args (exit wrapper)" pass "no spurious messages at program exit" } - -re ".*usage: factorial <number>.* EXIT code 1.*Program exited normally.*$gdb_prompt $" { + -re ".*usage: factorial <number>.* EXIT code 1.*$inferior_exited_re normally.*$gdb_prompt $" { pass "run \"$testfile\" with no args (exit wrapper)" fail "no spurious messages at program exit" } @@ -97,7 +97,7 @@ if [istarget "*-*-vxworks*"] then { set timeout 120 verbose "Timeout is now $timeout seconds" 2 gdb_expect { - "Program exited normally" { + "$inferior_exited_re normally" { unresolved "run \"$testfile\" with arg" } "120" { @@ -129,7 +129,7 @@ if [istarget "*-*-vxworks*"] then { set timeout 120 verbose "Timeout is now $timeout seconds" 2 gdb_expect { - "Program exited normally" { + "$inferior_exited_re normally" { unresolved "run \"$testfile\" again with same args" } "120" { pass "run \"$testfile\" again with same args" } @@ -161,7 +161,7 @@ if [istarget "*-*-vxworks*"] then { set timeout 120 verbose "Timeout is now $timeout seconds" 2 gdb_expect { - "Program exited normally" { + "$inferior_exited_re normally" { unresolved "run after setting args to nil" } "usage: factorial <number>" { @@ -202,7 +202,7 @@ if [istarget "*-*-vxworks*"] then { set timeout 120 verbose "Timeout is now $timeout seconds" 2 gdb_expect { - "Program exited normally" { + "$inferior_exited_re normally" { unresolved "run \"$testfile\" again after setting args" } "720" { diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index 78df003..654ad7a 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -258,7 +258,7 @@ proc do_attach_tests {} { # Allow the test process to exit, to cleanup after ourselves. - gdb_test "continue" "Program exited normally." "after attach2, exit" + gdb_continue_to_end "after attach2, exit" # Make sure we don't leave a process around to confuse # the next test run (and prevent the compile by keeping @@ -365,7 +365,7 @@ proc do_call_attach_tests {} { # Get rid of the process gdb_test "p should_exit = 1" - gdb_test "c" "Program exited normally." + gdb_continue_to_end # Be paranoid diff --git a/gdb/testsuite/gdb.base/bang.exp b/gdb/testsuite/gdb.base/bang.exp index efe2295..9326311 100644 --- a/gdb/testsuite/gdb.base/bang.exp +++ b/gdb/testsuite/gdb.base/bang.exp @@ -39,7 +39,7 @@ gdb_load ${binfile} gdb_run_cmd gdb_expect { - -re ".*Program exited normally.*$gdb_prompt $" { + -re ".*$inferior_exited_re normally.*$gdb_prompt $" { pass "run program" } timeout { diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp index 3df4dcb..fe79cae 100644 --- a/gdb/testsuite/gdb.base/break-interp.exp +++ b/gdb/testsuite/gdb.base/break-interp.exp @@ -365,7 +365,7 @@ proc test_attach {file displacement {relink_args ""}} { } proc test_ld {file ifmain trynosym displacement} { - global srcdir subdir gdb_prompt expect_out + global srcdir subdir gdb_prompt expect_out inferior_exited_re # First test normal `file'-command loaded $FILE with symbols. @@ -494,7 +494,7 @@ proc test_ld {file ifmain trynosym displacement} { } exp_continue } - -re "Program exited (normally|with code \[0-9\]+)\\.\r\n$gdb_prompt $" { + -re "$inferior_exited_re (normally|with code \[0-9\]+).\r\n$gdb_prompt $" { # Do not check the binary filename as it may be truncated. pass $test } diff --git a/gdb/testsuite/gdb.base/call-signal-resume.exp b/gdb/testsuite/gdb.base/call-signal-resume.exp index b85691c..c8ca941 100644 --- a/gdb/testsuite/gdb.base/call-signal-resume.exp +++ b/gdb/testsuite/gdb.base/call-signal-resume.exp @@ -146,7 +146,6 @@ gdb_test "continue" "Breakpoint \[0-9\]*, handle_signal.*" \ # Continue one last time, the program should exit normally. -gdb_test "continue" "Program exited normally." \ - "continue to program exit" +gdb_continue_to_end return 0 diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index d25df17..96884c4 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -166,8 +166,7 @@ proc check_for_program_end {} { # Deleting the catchpoints delete_breakpoints - set thistest "successful program end" - gdb_test "continue" "Program exited normally.*" $thistest + gdb_continue_to_end } @@ -231,7 +230,7 @@ proc test_catch_syscall_with_wrong_args {} { # If it doesn't, everything is right (since we don't have # a syscall named "mlock" in it). Otherwise, this is a failure. set thistest "catch syscall with unused syscall ($syscall_name)" - gdb_test "continue" "Program exited normally.*" $thistest + gdb_continue_to_end $thistest } proc test_catch_syscall_restarting_inferior {} { diff --git a/gdb/testsuite/gdb.base/checkpoint.exp b/gdb/testsuite/gdb.base/checkpoint.exp index f34b0d1..c3b2008 100644 --- a/gdb/testsuite/gdb.base/checkpoint.exp +++ b/gdb/testsuite/gdb.base/checkpoint.exp @@ -277,23 +277,23 @@ gdb_test "print ftell (out) > 100000" " = 1.*" "outfile still open 10" delete_breakpoints gdb_test "continue" \ - "Deleting copy.*Program exited normally.*Switching to.*" \ + "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ "Exit, dropped into next fork one" gdb_test "continue" \ - "Deleting copy.*Program exited normally.*Switching to.*" \ + "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ "Exit, dropped into next fork two" gdb_test "continue" \ - "Deleting copy.*Program exited normally.*Switching to.*" \ + "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ "Exit, dropped into next fork three" gdb_test "continue" \ - "Deleting copy.*Program exited normally.*Switching to.*" \ + "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ "Exit, dropped into next fork four" gdb_test "continue" \ - "Deleting copy.*Program exited normally.*Switching to.*" \ + "Deleting copy.*$inferior_exited_re normally.*Switching to.*" \ "Exit, dropped into next fork five" # diff --git a/gdb/testsuite/gdb.base/chng-syms.exp b/gdb/testsuite/gdb.base/chng-syms.exp index d2567e7..9478d0c 100644 --- a/gdb/testsuite/gdb.base/chng-syms.exp +++ b/gdb/testsuite/gdb.base/chng-syms.exp @@ -100,7 +100,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb gdb_run_cmd gdb_expect { - -re ".*Program exited normally.*$gdb_prompt $" { + -re ".*$inferior_exited_re normally.*$gdb_prompt $" { pass "running with invalidated bpt condition after executable changes" } -re ".*Breakpoint .*,( 0x.* in)? (\[^ \]*)exit .*$gdb_prompt $" { diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index 43c46f8..9d1134d 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -146,7 +146,7 @@ gdb_test_multiple "next" "step out of main" { # This is what happens on mingw32ce. pass "step out of main" } - -re ".*Program exited normally.*$gdb_prompt $" { + -re ".*$inferior_exited_re normally.*$gdb_prompt $" { # This is what happens on Linux i86 (and I would expect others) set program_exited 1 pass "step out of main" @@ -209,21 +209,21 @@ if {! [target_info exists use_gdb_stub] global program_exited; if {[eval expr $program_exited == 0]} { gdb_test_multiple "n" "step to end of run" { - -re "Program exited normally.*$gdb_prompt $" { + -re "$inferior_exited_re normally.*$gdb_prompt $" { # If we actually have debug info for the start function, # then we won't get the "Single-stepping until function # exit" message. pass "step to end of run" set program_exited_normally 1 } - -re "Single.*EXIT code 0\r\n.*Program exited normally.*$gdb_prompt $" { + -re "Single.*EXIT code 0\r\n.*$inferior_exited_re normally.*$gdb_prompt $" { pass "step to end of run (status wrapper)" set program_exited_normally 1 } -re "Single.*EXIT code 0\r\n.*$gdb_prompt $" { pass "step to end of run (status wrapper)" } - -re ".*Single.*Program exited.*$gdb_prompt $" { + -re ".*Single.*$inferior_exited_re.*$gdb_prompt $" { pass "step to end of run" set program_exited_normally 1 } diff --git a/gdb/testsuite/gdb.base/exe-lock.exp b/gdb/testsuite/gdb.base/exe-lock.exp index e4bbbbe..0ac0672 100644 --- a/gdb/testsuite/gdb.base/exe-lock.exp +++ b/gdb/testsuite/gdb.base/exe-lock.exp @@ -50,9 +50,7 @@ if ![runto_main] then { continue } -gdb_test "continue" \ - ".*Program exited normally\\." \ - "continue until program exits" +gdb_continue_to_end # Try deleting the executable file, now that the program has exited, # and make sure that the deletion worked by verifying that the exe diff --git a/gdb/testsuite/gdb.base/gdb1555.exp b/gdb/testsuite/gdb.base/gdb1555.exp index 8c3e8ba..ed6b073 100644 --- a/gdb/testsuite/gdb.base/gdb1555.exp +++ b/gdb/testsuite/gdb.base/gdb1555.exp @@ -77,7 +77,7 @@ gdb_test_multiple "n" $name \ -re "\[0-9\]+.*return a;.*$gdb_prompt $" { pass $name } - -re "Single stepping until exit from function .*, \r\nwhich has no line number information.\r\n\r\nProgram exited normally.*$gdb_prompt $" { + -re "Single stepping until exit from function .*, \r\nwhich has no line number information.\r\n\r\n$inferior_exited_re normally.*$gdb_prompt $" { kfail "gdb/1555" $name } } diff --git a/gdb/testsuite/gdb.base/interrupt.exp b/gdb/testsuite/gdb.base/interrupt.exp index cce7fca..4562199 100644 --- a/gdb/testsuite/gdb.base/interrupt.exp +++ b/gdb/testsuite/gdb.base/interrupt.exp @@ -201,7 +201,7 @@ if ![file exists $binfile] then { send_gdb "\004" gdb_expect { - -re "end of file.*Program exited normally.*$gdb_prompt $" { + -re "end of file.*$inferior_exited_re normally.*$gdb_prompt $" { pass "send end of file" } -re "$gdb_prompt $" { fail "send end of file" } diff --git a/gdb/testsuite/gdb.base/langs.exp b/gdb/testsuite/gdb.base/langs.exp index a42f2d8..e4f3450 100644 --- a/gdb/testsuite/gdb.base/langs.exp +++ b/gdb/testsuite/gdb.base/langs.exp @@ -142,13 +142,7 @@ if [runto csub] then { if [target_info exists gdb,noresults] { return } - if [target_info exists use_gdb_stub] { - gdb_breakpoint "exit" - gdb_test "cont" "Breakpoint .*exit.*" "continue to exit in langs.exp" - } else { - gdb_test "cont" "Program exited normally\\..*" \ - "continue to exit in langs.exp" - } + gdb_continue_to_end "langs.exp" } gdb_exit diff --git a/gdb/testsuite/gdb.base/reread.exp b/gdb/testsuite/gdb.base/reread.exp index e562285..78d1126 100644 --- a/gdb/testsuite/gdb.base/reread.exp +++ b/gdb/testsuite/gdb.base/reread.exp @@ -149,8 +149,7 @@ if [is_remote target] { # This time, let the program run to completion. If GDB checks the # executable file's timestamp now, it won't notice any change. - gdb_test "continue" ".*Program exited.*" \ - "second pass: continue to completion" + gdb_continue_to_end "second pass" # Now move the newer executable into place, and re-run. GDB # should still notice that the executable file has changed, diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index f8601c7..ba484f0 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -182,12 +182,12 @@ if ![is_remote target] { gdb_test "run" "Starting program:.*Breakpoint .,.*" \ "run to bp in shared library" - gdb_test "cont" ".*Program exited normally..*" + gdb_continue_to_end gdb_test "run" "Starting program:.*Breakpoint .,.*" \ "re-run to bp in shared library (PR's 16495, 18213)" - gdb_test "cont" ".*Program exited normally..*" + gdb_continue_to_end } return 0 diff --git a/gdb/testsuite/gdb.base/siginfo.exp b/gdb/testsuite/gdb.base/siginfo.exp index db9fd5c..602c63b 100644 --- a/gdb/testsuite/gdb.base/siginfo.exp +++ b/gdb/testsuite/gdb.base/siginfo.exp @@ -83,7 +83,7 @@ gdb_test_multiple "step" "${test}" { send_gdb "step\n" exp_continue } - -re "Program exited normally.*${gdb_prompt} $" { + -re "$inferior_exited_re normally.*${gdb_prompt} $" { kfail gdb/1613 "$test (program exited)" } -re "(while ..done|return 0).*${gdb_prompt} $" { diff --git a/gdb/testsuite/gdb.base/sigstep.exp b/gdb/testsuite/gdb.base/sigstep.exp index 98e0e3d..d43cf0a 100644 --- a/gdb/testsuite/gdb.base/sigstep.exp +++ b/gdb/testsuite/gdb.base/sigstep.exp @@ -68,7 +68,7 @@ gdb_test_sequence "bt" "backtrace for nexti" { } proc advance { i } { - global gdb_prompt + global gdb_prompt inferior_exited_re set prefix "$i from handler" # Get us back into the handler @@ -88,7 +88,7 @@ proc advance { i } { send_gdb "$i\n" exp_continue -continue_timer } - -re "Program exited normally.*${gdb_prompt} $" { + -re "$inferior_exited_re normally.*${gdb_prompt} $" { setup_kfail gdb/1639 powerpc-*-*bsd* fail "$test (program exited)" } @@ -105,7 +105,7 @@ proc advance { i } { } proc advancei { i } { - global gdb_prompt + global gdb_prompt inferior_exited_re set prefix "$i from handleri" set program_exited 0 @@ -144,7 +144,7 @@ proc advancei { i } { -re "main .*${gdb_prompt} $" { fail "$test (in main)" } - -re "Program exited normally.*${gdb_prompt} $" { + -re "$inferior_exited_re normally.*${gdb_prompt} $" { fail "$test (program exited)" set program_exited 1 } @@ -170,7 +170,7 @@ proc advancei { i } { send_gdb "y\n" exp_continue -continue_timer } - -re "Program exited normally.*${gdb_prompt} $" { + -re "$inferior_exited_re normally.*${gdb_prompt} $" { kfail gdb/1639 "$test (program exited)" set program_exited 1 } diff --git a/gdb/testsuite/gdb.base/step-test.exp b/gdb/testsuite/gdb.base/step-test.exp index 1c48812..24116d6 100644 --- a/gdb/testsuite/gdb.base/step-test.exp +++ b/gdb/testsuite/gdb.base/step-test.exp @@ -150,7 +150,7 @@ gdb_test_multiple "finish" "$test" { -re ".*${decimal}.*callee.*NEXTI.*$gdb_prompt $" { pass "$test" } - -re ".*(Program received|Program exited).*$gdb_prompt $" { + -re ".*(Program received|$inferior_exited_re).*$gdb_prompt $" { # Oops... We ran to the end of the program... Better reset if {![runto_main]} then { fail "$test (Can't run to main)" diff --git a/gdb/testsuite/gdb.base/term.exp b/gdb/testsuite/gdb.base/term.exp index 049a88b..d4d1d83 100644 --- a/gdb/testsuite/gdb.base/term.exp +++ b/gdb/testsuite/gdb.base/term.exp @@ -47,7 +47,7 @@ gdb_test_no_output "set width 0" gdb_test "info terminal" "No saved terminal information.*" "test info terminal" gdb_run_cmd 5 gdb_expect { - -re ".*120.*Program exited normally.*$gdb_prompt $" { + -re ".*120.*$inferior_exited_re normally.*$gdb_prompt $" { gdb_test "info terminal" "No saved terminal information.*" "test info terminal #2" } default { |