diff mbox

[1/7,gdb/testsuite] allow more registers in reader test

Message ID 20200218124339.11270-2-mihails.strasuns@intel.com
State New
Headers show

Commit Message

Strasuns, Mihails Feb. 18, 2020, 12:43 p.m. UTC
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(+)

Comments

Tom Tromey Feb. 19, 2020, 9:22 p.m. UTC | #1
>>>>> "Mihails" == Mihails Strasuns <mihails.strasuns@intel.com> writes:

Mihails> Fixes jit-reader test failures on systems that have more registers than
Mihails> expected by the current condition.

Mihails> gdb/testsuite/ChangeLog:

Mihails> 2020-02-18  Mihails Strasuns  <mihails.strasuns@intel.com>

Mihails> 	* gdb.base/jit-reader.exp: relax register output check

Ok.
Thank you.

Tom
diff mbox

Patch

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>" \
+			 ".*" \
 			]
 
 		# Make sure that "info frame" doesn't crash.