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

Tom Tromey tom@tromey.com
Wed Jan 27 20:39:06 GMT 2021


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

Tom


More information about the Gdb-patches mailing list