unsupported $test2
} else {
gdb_test "core $corefile" "Core was generated by.*" \
- "load core file for $test1" \
- "A program is being debugged already.*" "y"
+ "load core file for $test1"
set core_data [fetch_auxv $test1]
global live_data
if {$core_data == $live_data} {
"Catchpoint \[0-9\]* \\(${fork_kind}ed process \[0-9\]*\\),.*" \
"continue to grandchild ${fork_kind}"
- gdb_test "kill inferior 2" "" "kill child" \
- "Kill the program being debugged.*y or n. $" "y"
+ gdb_test "kill inferior 2" "" "kill child"
gdb_test "inferior 1" "Switching to inferior 1 .*" "switch to parent"
#test return
# The middle case accomodated the obsolete a29k, where doing the "ni"
# above causes an initial stack to be created.
-gdb_test "return" "No selected frame..*" "return" "Make .* return now.*y or n. $" "y"
+gdb_test "return" "No selected frame..*"
#test reverse-search
}
gdb_test "file $binfile" \
$pass_re \
- "filename is styled when loading symbol file" \
- "Are you sure you want to change the file.*" \
- "y"
+ "filename is styled when loading symbol file"
gdb_test "pwd" "Working directory [limited_style .*? file].*"
# Remove the second inferior and confirm that GDB goes back to showing
# single-number thread IDs.
with_test_prefix "back to one inferior" {
- gdb_test "kill inferior 2" "" "kill inferior 2" "Kill the program being debugged.*" "y"
+ gdb_test "kill inferior 2" "" "kill inferior 2"
gdb_test "thread 1.1" "Switching to thread 1\.1 .*"
gdb_test "remove-inferior 2" ".*" "remove inferior 2"
# but before "target remote" below so that qSymbol data get already
# initialized from BINFILE (and not from ld.so first needing a change to
# BINFILE later).
- gdb_test "file ${binfile}" {Reading symbols from .*\.\.\..*} "file binfile" \
- {(Are you sure you want to change the file|Load new symbol table from ".*")\? \(y or n\) } "y"
+ gdb_test "file ${binfile}" {Reading symbols from .*\.\.\..*} "file binfile"
set test "target $gdbserver_protocol"
set ok 0