aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/remote.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/remote.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/remote.exp')
-rw-r--r--gdb/testsuite/gdb.base/remote.exp16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/testsuite/gdb.base/remote.exp b/gdb/testsuite/gdb.base/remote.exp
index 0dee13a..113c56b 100644
--- a/gdb/testsuite/gdb.base/remote.exp
+++ b/gdb/testsuite/gdb.base/remote.exp
@@ -125,22 +125,6 @@ gdb_load_timed $binfile "limit" 0
# Query GDB for the size of various types
#
-proc get_sizeof { type default } {
- global gdb_prompt
- send_gdb "print/d sizeof (${type})\n"
- gdb_expect {
- -re "\\$\[0-9\]* = (\[0-9\]*).*$gdb_prompt $" {
- set size $expect_out(1,string)
- pass "get sizeof ${type} ($size)"
- }
- timeout {
- set size ${default}
- fail "get sizeof ${type} (timeout)"
- }
- }
- return ${size}
-}
-
# Get the size of random_data table (defaults to 48K).
set sizeof_random_data [get_sizeof "random_data" 48*1024]