aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-01-28 08:14:58 +0100
committerTom de Vries <tdevries@suse.de>2021-01-28 08:14:58 +0100
commit22efa3d3074613a0c74e834a1c4366a639c0f763 (patch)
treee10f5cbd78267dfb135efe66f9420ae927cde9cd /gdb/rust-lang.c
parent07b8b9e7c5b1dbd16d630f925f741c517623b9cb (diff)
downloadgdb-22efa3d3074613a0c74e834a1c4366a639c0f763.zip
gdb-22efa3d3074613a0c74e834a1c4366a639c0f763.tar.gz
gdb-22efa3d3074613a0c74e834a1c4366a639c0f763.tar.bz2
[gdb/testsuite] Fix ERROR in gdb.dwarf2/dw2-out-of-range-end-of-seq.exp
When running test-case gdb.dwarf2/dw2-out-of-range-end-of-seq.exp on a system with debug packages installed, I run into: ... (gdb) maint info line-table^M ... <lots of output> ... ERROR: internal buffer is full. UNRESOLVED: gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: \ END with address 1 eliminated ... Fix this by limiting the output of the command using a regexp. I also noticed that when making the regexp match nothing, meaning the command has no output, the test didn't FAIL. Fixed this by adding a PASS pattern. I also noticed that the FAIL pattern didn't work with -m32, fixed that as well. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2021-01-28 Tom de Vries <tdevries@suse.de> * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to "maint info line-table". Make PASS pattern more specific. Make FAIL pattern work for -m32.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions