diff options
author | Tom de Vries <tdevries@suse.de> | 2021-09-27 11:33:12 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-09-27 11:33:12 +0200 |
commit | ee2ff2eaa51ab83e24a14feae968cd575276e6a7 (patch) | |
tree | 25c4b2f37068891370a720c1eb3066d70c4de1d2 /gdb/netbsd-nat.c | |
parent | 203a9824347042e0f7580994cbe7a1eb8dc1e893 (diff) | |
download | gdb-ee2ff2eaa51ab83e24a14feae968cd575276e6a7.zip gdb-ee2ff2eaa51ab83e24a14feae968cd575276e6a7.tar.gz gdb-ee2ff2eaa51ab83e24a14feae968cd575276e6a7.tar.bz2 |
[gdb/testsuite] Fix gdb.base/dcache-flush.exp
When running test-case gdb.base/dcache-flush.exp on ubuntu 18.04.5, I run into:
...
(gdb) PASS: gdb.base/dcache-flush.exp: p var2
info dcache^M
Dcache 4096 lines of 64 bytes each.^M
Contains data for Thread 0x7ffff7fc6b80 (LWP 3551)^M
Line 0: address 0x7fffffffd4c0 [47 hits]^M
Line 1: address 0x7fffffffd500 [31 hits]^M
Line 2: address 0x7fffffffd5c0 [7 hits]^M
Cache state: 3 active lines, 85 hits^M
(gdb) FAIL: gdb.base/dcache-flush.exp: check dcache before flushing
...
The regexp expects "Contains data for process $decimal".
This is another case of thread_db_target::pid_to_str being used.
Fix this by updating the regexp.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions