From 13eba4e04b779537d5005a184072a884c39a2346 Mon Sep 17 00:00:00 2001 From: chastain Date: Sun, 23 Nov 2003 17:47:59 +0000 Subject: [PATCH] 2003-11-23 Michael Chastain Fix PR testsuite/1463. * gdb.base/structs.exp (start_structs_test): Call get_debug_format before using the debug format. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/structs.exp | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 35fcaea6fb..30ac5f165b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-11-23 Michael Chastain + + 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 * 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 7d399fd37e..e623d91b35 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} { -- 2.11.0