Remove references to gdb64 in the testsuite
authorPedro Alves <palves@redhat.com>
Thu, 12 Oct 2017 23:40:23 +0000 (00:40 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 12 Oct 2017 23:40:23 +0000 (00:40 +0100)
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  <palves@redhat.com>

* gdb.base/attach.exp: Remove references to gdb64.
* gdb.base/dbx.exp: Remove references to gdb64.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/attach.exp
gdb/testsuite/gdb.base/dbx.exp

index 5c5d1afa50d328bd756d321b900b915d6bcb19d8..06c62f4d6b122a1ed14e0101bcd87af83bfca340 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-12  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/attach.exp: Remove references to gdb64.
+       * gdb.base/dbx.exp: Remove references to gdb64.
+
 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
            Pedro Alves  <palves@redhat.com>
 
index 98a50f5d132501b3e2714fec8bbb9d5c32270237..89b3dd0fe88e318cdea334708dd0d73cda0ca941 100644 (file)
@@ -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 $" {
index 19bc7091509d671d0994e1af88561bb592b7b997..77055e8d82ebdab2ceac185ce9c7a0f099f4191b 100644 (file)
@@ -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"