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.
This commit is contained in:
Michael Chastain 2003-11-23 17:48:00 +00:00
parent 66faad269b
commit b729099eb3
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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} {