[PATCH v2 1/8] [gdb/testsuite] allow more registers in reader test
Simon Marchi
simark@simark.ca
Mon Mar 30 02:55:00 GMT 2020
On 2020-03-27 6:39 a.m., Mihails Strasuns via Gdb-patches wrote:
> Fixes jit-reader test failures on systems that have more registers than
> expected by the current condition.
>
> gdb/testsuite/ChangeLog:
>
> 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
>
> * gdb.base/jit-reader.exp: relax register output check
>
> Signed-off-by: Mihails Strasuns <mihails.strasuns@intel.com>
> Change-Id: I227ab8691b2363d626f7100216477ab637f619fa
> ---
> gdb/testsuite/gdb.base/jit-reader.exp | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gdb/testsuite/gdb.base/jit-reader.exp b/gdb/testsuite/gdb.base/jit-reader.exp
> index 7852a5b550..5140e3d930 100644
> --- a/gdb/testsuite/gdb.base/jit-reader.exp
> +++ b/gdb/testsuite/gdb.base/jit-reader.exp
> @@ -92,6 +92,7 @@ proc info_registers_current_frame {sp} {
> "es $hex +$neg_decimal" \
> "fs $hex +$neg_decimal" \
> "gs $hex +$neg_decimal" \
> + ".*" \
> ]
> }
>
> @@ -196,6 +197,7 @@ proc jit_reader_test {} {
> "es <not saved>" \
> "fs <not saved>" \
> "gs <not saved>" \
> + ".*" \
> ]
The comment in this message was not addressed:
https://sourceware.org/pipermail/gdb-patches/2020-March/166893.html
Simon
More information about the Gdb-patches
mailing list