aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/dfp-test.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-02-13 16:13:47 +0000
committerTom Tromey <tromey@redhat.com>2009-02-13 16:13:47 +0000
commit7065b901d547c516370affe96e0162bb82926cc7 (patch)
tree9a9f683d24fc7f289009bd603dfb1b6ebbf5cc4e /gdb/testsuite/gdb.base/dfp-test.exp
parent0eb6d79470d4600115cfca4fe0c0a202f21ecc6d (diff)
downloadgdb-7065b901d547c516370affe96e0162bb82926cc7.zip
gdb-7065b901d547c516370affe96e0162bb82926cc7.tar.gz
gdb-7065b901d547c516370affe96e0162bb82926cc7.tar.bz2
* gdb.base/remote.exp (get_sizeof): Remove.
* gdb.base/long_long.exp (get_valueof, get_sizeof): Remove. * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove. * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove. * lib/gdb.exp (get_valueof): Move from long_long.exp. (get_sizeof): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/dfp-test.exp')
-rw-r--r--gdb/testsuite/gdb.base/dfp-test.exp20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/testsuite/gdb.base/dfp-test.exp b/gdb/testsuite/gdb.base/dfp-test.exp
index 32f36a9..94fcb41 100644
--- a/gdb/testsuite/gdb.base/dfp-test.exp
+++ b/gdb/testsuite/gdb.base/dfp-test.exp
@@ -43,26 +43,6 @@ if ![runto_main] then {
continue
}
-# Detect the size of the target's basic types (from gdb.base/long_long.exp).
-
-proc get_valueof { fmt exp default } {
- global gdb_prompt
- send_gdb "print${fmt} ${exp}\n"
- gdb_expect {
- -re "\\$\[0-9\]* = (\[-\]*\[0-9\]*).*$gdb_prompt $" {
- set val $expect_out(1,string)
- }
- timeout {
- set val ${default}
- }
- }
- return ${val}
-}
-
-proc get_sizeof { type default } {
- return [get_valueof "/d" "sizeof (${type})" $default]
-}
-
set sizeof_long [get_sizeof "long" 4]
proc d32_set_tests {} {