aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-11-23 17:48:00 +0000
committerMichael Chastain <mec@google.com>2003-11-23 17:48:00 +0000
commitb729099eb3e9178b78da950654963a61e9646535 (patch)
tree520ef71d996de97a98ac97c7150504a5bd4dd0e2 /gdb
parent66faad269b79234610a3f76f36304545617c095b (diff)
downloadfsf-binutils-gdb-b729099eb3e9178b78da950654963a61e9646535.zip
fsf-binutils-gdb-b729099eb3e9178b78da950654963a61e9646535.tar.gz
fsf-binutils-gdb-b729099eb3e9178b78da950654963a61e9646535.tar.bz2
2003-11-23 Michael Chastain <mec@shout.net>
Fix PR testsuite/1463. * gdb.base/structs.exp (start_structs_test): Call get_debug_format before using the debug format.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/structs.exp3
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 35fcaea..30ac5f1 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-23 Michael Chastain <mec@shout.net>
+
+ Fix PR testsuite/1463.
+ * gdb.base/structs.exp (start_structs_test): Call
+ get_debug_format before using the debug format.
+
2003-11-22 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_test_multiple): Add simple example.
diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp
index 7d399fd..e623d91 100644
--- a/gdb/testsuite/gdb.base/structs.exp
+++ b/gdb/testsuite/gdb.base/structs.exp
@@ -98,6 +98,9 @@ proc start_structs_test { types } {
gdb_suppress_tests;
}
+ # Get the debug format
+ get_debug_format
+
# check that at the struct containing all the relevant types is correct
set foo_t "type = struct struct[llength ${types}] \{"
for {set n 0} {$n<[llength ${types}]} {incr n} {