This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testsuite/1463: structs.exp gives different results when run standalone


The following reply was made to PR testsuite/1463; it has been noted by GNATS.

From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: cagney@gnu.org
Cc: gdb-gnats@sources.redhat.com
Subject: Re: testsuite/1463: structs.exp gives different results when run standalone
Date: Sat, 22 Nov 2003 18:26:30 -0500 (EST)

 > Missing call to gdb.exp:get_debug_format?
 
 Ah, sure looks like it!
 
 I tried the attached patch and it fixed the problem.
 The results from a standalone run are identical to the results
 from my last complete test run.
 
 I'll run it by gdb-patches late tonight or early tomorrow
 unless you beat me to it.
 
 Michael C
 
 Index: structs.exp
 ===================================================================
 RCS file: /cvs/src/src/gdb/testsuite/gdb.base/structs.exp,v
 retrieving revision 1.9
 diff -c -3 -p -r1.9 structs.exp
 *** structs.exp	20 Nov 2003 18:03:48 -0000	1.9
 --- structs.exp	22 Nov 2003 23:10:46 -0000
 *************** proc start_structs_test { types } {
 *** 98,103 ****
 --- 98,106 ----
   	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} {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]