aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-netbsd-nat.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-01-25 13:44:17 +0100
committerTom de Vries <tdevries@suse.de>2023-01-25 13:44:17 +0100
commit621271c7819c3337e3eb5e48b7a7ee66573543da (patch)
tree1fa0ea3443a9545ae927a3c591b7a585fd08508f /gdb/sparc-netbsd-nat.c
parent1b2fb35d5920fc27624823de92c30d346161058e (diff)
downloadgdb-621271c7819c3337e3eb5e48b7a7ee66573543da.zip
gdb-621271c7819c3337e3eb5e48b7a7ee66573543da.tar.gz
gdb-621271c7819c3337e3eb5e48b7a7ee66573543da.tar.bz2
[gdb/testsuite] Allow nodebug srcfile in gdb.base/unwind-on-each-insn.exp
Test-case gdb.base/unwind-on-each-insn.exp compiles $srcfile with debug info, and $srcfile2 without. Occasionally, I try both files with debug info: ... - $srcfile $debug_flags $srcfile2 $nodebug_flags]]} { + $srcfile $debug_flags $srcfile2 $debug_flags]]} { ... and both files without: ... - $srcfile $debug_flags $srcfile2 $nodebug_flags]]} { + $srcfile $nodebug_flags $srcfile2 $nodebug_flags]]} { ... In the latter case, I run into: ... FAIL: gdb.base/unwind-on-each-insn.exp: foo: instruction 1: bt 2 FAIL: gdb.base/unwind-on-each-insn.exp: foo: instruction 1: up ... due to a mismatch between the regexp and the different output due to using nodebug. Fix this by making the regexp less strict. Tested on x86_64-linux.
Diffstat (limited to 'gdb/sparc-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions