> The tests in pc-fp.exp display the actual values of $pc and $fp in > their PASS messages. That makes regression testing a bit more > annoying for me: the value of $fp changes with every change I make to > GDB. Is it okay to tweak the PASS messages not to display those > values? As far as I know, anything in trailing paren should be ignored when comparing test results. You might want to tweak your script (I've attached mine) to do this. Also, why is FP/PC changing? Your GDB changes shouldn't affect the behavior of the target program's $fp / $pc. Andrew > 2002-11-05 David Carlton > > * gdb.base/pc-fp.exp (get_valueofx): Don't display 'val' in PASS > message. > > Index: pc-fp.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/pc-fp.exp,v > retrieving revision 1.1 > diff -u -p -r1.1 pc-fp.exp > --- pc-fp.exp 25 Sep 2002 20:30:38 -0000 1.1 > +++ pc-fp.exp 5 Nov 2002 22:09:51 -0000 > @@ -62,7 +62,7 @@ proc get_valueofx { fmt exp default } { > gdb_expect { > -re "\\$\[0-9\]* = (0x\[0-9a-zA-Z\]+).*$gdb_prompt $" { > set val $expect_out(1,string) > - pass "get value of ${exp} ($val)" > + pass "get value of ${exp}" > } > timeout { > set size ${default} >