[committed][gdb/testsuite] Make gdb.base/dbx.exp more robust

Tom de Vries tdevries@suse.de
Thu Jun 11 12:11:55 GMT 2020


[ was: Re: [PATCH 3/3][gdb/testsuite] Warn about leaked global array ]

On 04-06-2020 13:40, Tom de Vries wrote:
>> BTW, global variables alone aren't the full scope of the
>> bleeding between testcases.  There's also the case of
>> testcases overriding procedures, like gdb.base/dbx.exp,
>> but those are perhaps rare enough that we can continue
>> handling it "manually" as before.
> AFAICT, that test-case does an effort to undo the override, though I'm
> not sure how certain it is that the undo will be executed.

I've committed patch below to make sure the undo is executed (and
similar for GDBFLAGS).

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdb-testsuite-Make-gdb.base-dbx.exp-more-robust.patch
Type: text/x-patch
Size: 3977 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20200611/ed8ad7ef/attachment.bin>


More information about the Gdb-patches mailing list