diff options
Diffstat (limited to 'gdb/testsuite/config/vx-gdb.exp')
-rw-r--r-- | gdb/testsuite/config/vx-gdb.exp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/testsuite/config/vx-gdb.exp b/gdb/testsuite/config/vx-gdb.exp index 622572e..eb7c2d4 100644 --- a/gdb/testsuite/config/vx-gdb.exp +++ b/gdb/testsuite/config/vx-gdb.exp @@ -37,13 +37,7 @@ if ![info exists prompt] then { # gdb_version -- extract and print the version number of gcc # proc gdb_version {} { - global GDB - global GDBFLAGS - global prompt - set tmp [exec echo "q" | $GDB] - set version [lindex $tmp [lsearch $tmp "\[0-9\]*"]] - set version [string range $version 0 [expr [string length $version]-2]] - clone_output "[which $GDB] version $version $GDBFLAGS\n" + default_gdb_version } # |