[PATCH][gdb/testsuite] Fix ERROR in gdb.dwarf2/dw2-out-of-range-end-of-seq.exp

tdevries tdevries@suse.de
Wed Jan 27 20:51:10 GMT 2021


On 2021-01-27 21:39, Tom Tromey wrote:
>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
> 
> Tom> 2021-01-26  Tom de Vries  <tdevries@suse.de>
> 
> Tom> 	* gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
> Tom> 	"maint info line-table".  Make PASS pattern more specific.  Make
> Tom> 	FAIL pattern work for -m32.
> 
> Thanks.
> 
> Tom> -gdb_test_multiple "maint info line-table" "END with address 1
> eliminated" {
> Tom> -    -re -wrap "END *0x0*1 Y \r\n.*" {
> Tom> +set test "END with address 1 eliminated"
> Tom> +gdb_test_multiple "maint info line-table $srcfile$" $test {
> Tom> +    -re -wrap "END *0x0*1 *Y \r\n.*" {
> Tom>  	fail $gdb_test_name
> 
> Should this just pass $gdb_test_name to gdb_test_multiple, rather than
> $test?  It seems like the two things should be the same.

gdb_test_name is a dedicated variable that's only valid inside 
gdb_test_multiple.

Thanks,
- Tom


More information about the Gdb-patches mailing list