[gdb/testsuite] Fix gdb.base/unwind-on-each-insn.exp for -m32
authorTom de Vries <tdevries@suse.de>
Wed, 25 Jan 2023 15:35:53 +0000 (16:35 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 25 Jan 2023 15:35:53 +0000 (16:35 +0100)
commit9bf5a417591587233e1580973c8a64dfd4c2ac32
tree328558bde04be85a97cfa2f2c7893dfcd49fbd55
parentd25a8dbc7c3ae12aea8a203ce64f78608e22daa0
[gdb/testsuite] Fix gdb.base/unwind-on-each-insn.exp for -m32

With test-case gdb.base/unwind-on-each-insn.exp and target board unix/-m32, I
now get:
...
 # of expected passes            25
...
instead of:
...
 # of expected passes            133
...
as I used to get before commit d25a8dbc7c3 ("[gdb/testsuite] Allow debug
srcfile2 in gdb.base/unwind-on-each-insn.exp"), due to the test-case trying to match
"rip = " and info frame printing "eip = " instead.

Fix this by dropping "rip" from the regexp.

Tested on x86_64-linux, target boards unix/{-m64,-m32}.
gdb/testsuite/gdb.base/unwind-on-each-insn.exp