diff options
author | Tom de Vries <tdevries@suse.de> | 2023-01-25 13:27:03 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-01-25 13:27:03 +0100 |
commit | ebef88edb6474fa9568123645b6762bcd6872702 (patch) | |
tree | 3c01c6e80e0c492a509eac36c72d6a32f3b86a40 /gdb/sparc-netbsd-nat.c | |
parent | 5f6ec13ffe8ae4db04419bf66868e082df73634d (diff) | |
download | gdb-ebef88edb6474fa9568123645b6762bcd6872702.zip gdb-ebef88edb6474fa9568123645b6762bcd6872702.tar.gz gdb-ebef88edb6474fa9568123645b6762bcd6872702.tar.bz2 |
[gdb/testsuite] Analyze non-leaf fn in gdb.base/unwind-on-each-insn.exp
In test-case gdb.base/unwind-on-each-insn.exp, we stepi through function foo
to check various invariants at each insn, in particular hoping to excercise
insns that modify stack and frame pointers.
Function foo is a leaf function, so add a non-leaf function bar, and step
through it as well (using nexti instead of stepi).
With the updated test-case, on powerpc64le-linux, I run into PR tdep/30049:
...
FAIL: bar: instruction 5: bt 2
FAIL: bar: instruction 5: up
FAIL: bar: instruction 5: [string equal $fid $::main_fid]
FAIL: bar: instruction 6: bt 2
FAIL: bar: instruction 6: up
FAIL: bar: instruction 6: [string equal $fid $::main_fid]
...
Tested on:
- x86_64-linux (-m64 and -m32)
- s390x-linux (-m64 and -m31)
- aarch64-linux
- powerpc64le-linux
Diffstat (limited to 'gdb/sparc-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions