diff options
author | Tom de Vries <tdevries@suse.de> | 2024-07-24 14:44:33 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-07-24 14:44:33 +0200 |
commit | d4cea453901b3f1d1e7ea95e8ce0d7860fa9602b (patch) | |
tree | 9a090e7a2bff849bab3dcf2a16c2ef6490ad0eb0 /gdb/ppc-netbsd-tdep.c | |
parent | 91a84aaf9a1c72d3b56c8cbc55d32327cdcfb8ce (diff) | |
download | binutils-d4cea453901b3f1d1e7ea95e8ce0d7860fa9602b.zip binutils-d4cea453901b3f1d1e7ea95e8ce0d7860fa9602b.tar.gz binutils-d4cea453901b3f1d1e7ea95e8ce0d7860fa9602b.tar.bz2 |
[gdb/testsuite] Fix gdb.cp/m-static.exp on arm
With test-case gdb.cp/m-static.exp on arm-linux, I get:
...
(gdb) ptype test5.single_constructor^M
type = class single_constructor {^M
^M
public:^M
single_constructor(void);^M
~single_constructor(void);^M
} *(single_constructor * const)^M
(gdb) FAIL: gdb.cp/m-static.exp: simple object instance, ptype constructor
...
The test-case expects:
- no empty line before "public:", and
- no "~single_constructor(void)", but "~single_constructor()"
The latter is due to commit 137c886e9a6 ("[gdb/c++] Print destructor the same
for gcc and clang").
The failing test is in a part only enabled for is_aarch32_target == 1, so it
looks like it was left behind.
I'm assuming the same happened for the other difference.
Fix this by updating the regexps to match the observed output.
Tested on arm-linux.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/ppc-netbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions