Tom de Vries
1985d8cb70
[gdb/testsuite] Fix gdb.cp/m-static.exp regression on Ubuntu 20.04
...
In commit 722c459603 ("[gdb/testsuite] Fix gdb.cp/*.exp for remote host"), I
needed to change ".*/" into "(.*/)?" in:
...
gdb_test "info variable everywhere" \
"File .*/m-static\[.\]h.*const int gnu_obj_4::everywhere;"
...
However, due to the fact that I got this output:
...
(gdb) info variable everywhere^M
All variables matching regular expression "everywhere":^M
^M
File /data/vries/gdb/src/gdb/testsuite/gdb.cp/m-static.h:^M
8: const int gnu_obj_4::everywhere;^M
^M
File /data/vries/gdb/src/gdb/testsuite/gdb.cp/m-static1.cc:^M
8: const int gnu_obj_4::everywhere;^M
...
I decided to make the matching somewhat stricter, to make sure that the two
matched lines were subsequent.
The commit turned out to be more strict than intended, and caused a regression
on Ubuntu 20.04, where the output was instead:
...
(gdb) info variable everywhere^M
All variables matching regular expression "everywhere":^M
^M
File /data/vries/gdb/src/gdb/testsuite/gdb.cp/m-static.h:^M
8: const int gnu_obj_4::everywhere;^M
...
At that point I realized I'm looking at a bug (filed as PR symtab/30265),
which manifests on openSUSE Leap 15.4 for native and readnow, and on Ubuntu
20.04 for readnow, but not for native.
Before my commit, the test-case passed whether the bug manifested or not.
After my commit, the test-case only passed when the bug manifested.
Fix the test-case regression by reverting to the situation before the commit:
pass whether the bug manifests or not. We could add an xfail for the PR, but
I'm expecting a fix soon, so that doesn't look worth the effort.
Tested on x86_64-linux, both on openSUSE Leap 15.4 and Ubuntu 20.04, both with
native and readnow.
Reported-By: Simon Marchi <simon.marchi@efficios.com >
2023-03-24 09:18:07 +01:00
..
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-03-22 09:37:41 +01:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-02-12 06:19:53 +00:00
2023-02-12 06:19:53 +00:00
2023-03-07 11:11:03 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-03-20 16:05:20 +00:00
2023-03-20 16:05:20 +00:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 15:53:50 -05:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-02-27 14:14:24 +00:00
2023-02-27 14:14:24 +00:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-03-10 08:21:46 -07:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-26 18:28:31 -07:00
2023-03-24 09:18:07 +01:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-19 15:18:01 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-06 10:52:55 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-17 07:03:26 -07:00
2023-01-17 11:47:21 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-26 18:28:31 -07:00
2023-01-26 18:28:31 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-22 09:37:41 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:57 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00