From 8aed1c0d04e6d0eb7d0790c4691665cffef573b7 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 13 Oct 2017 00:40:23 +0100 Subject: [PATCH] Remove references to gdb64 in the testsuite I'm not sure whether this gdb64 was ever a thing in the upstream repo, but it certainly doesn't exist nowadays. AFAICT, this came in with the original big merge with the HP tree: https://sourceware.org/ml/gdb-patches/1999-q2/msg00149.html gdb/testsuite/ChangeLog: 2017-10-12 Pedro Alves * gdb.base/attach.exp: Remove references to gdb64. * gdb.base/dbx.exp: Remove references to gdb64. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/attach.exp | 2 +- gdb/testsuite/gdb.base/dbx.exp | 15 --------------- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5c5d1afa50d..06c62f4d6b1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-12 Pedro Alves + + * gdb.base/attach.exp: Remove references to gdb64. + * gdb.base/dbx.exp: Remove references to gdb64. + 2017-10-12 Simon Marchi Pedro Alves diff --git a/gdb/testsuite/gdb.base/attach.exp b/gdb/testsuite/gdb.base/attach.exp index 98a50f5d132..89b3dd0fe88 100644 --- a/gdb/testsuite/gdb.base/attach.exp +++ b/gdb/testsuite/gdb.base/attach.exp @@ -324,7 +324,7 @@ proc do_call_attach_tests {} { # Attach - gdb_test "file $binfile2" ".*" "force switch to gdb64, if necessary" + gdb_test "file $binfile2" ".*" "load file" set test "attach call" gdb_test_multiple "attach $testpid" "$test" { -re "warning: reading register.*I.*O error.*$gdb_prompt $" { diff --git a/gdb/testsuite/gdb.base/dbx.exp b/gdb/testsuite/gdb.base/dbx.exp index 19bc7091509..77055e8d82e 100644 --- a/gdb/testsuite/gdb.base/dbx.exp +++ b/gdb/testsuite/gdb.base/dbx.exp @@ -174,21 +174,6 @@ proc gdb_file_cmd {arg} { send_gdb "symbol-file $arg\n" gdb_expect { - -re "Detected 64-bit symbol file.\r\nInvoking.*gdb64.*$gdb_prompt $" { - verbose "\t\tLoaded $arg into the $GDB" - send_gdb "exec-file $arg\n" - gdb_expect { - -re ".*$gdb_prompt $" { - verbose "\t\tLoaded $arg with new symbol table into $GDB" - return 0 - } - timeout { - perror "(timeout) Couldn't load $arg" - return -1 - } - } - return 0 - } -re "Reading symbols from.*done.*$gdb_prompt $" { verbose "\t\tLoaded $arg into the $GDB" send_gdb "exec-file $arg\n"