diff options
author | Tom de Vries <tdevries@suse.de> | 2022-09-30 06:04:56 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-09-30 06:04:56 +0200 |
commit | 1d4c108cec2b50bde92d269c34b79d0d19949630 (patch) | |
tree | 00554481926cb13b8fee0a1a71b54f20448ed6ce /gprofng | |
parent | d6b99a80716d2f0e21baae97a8653204dd354ad3 (diff) | |
download | gdb-1d4c108cec2b50bde92d269c34b79d0d19949630.zip gdb-1d4c108cec2b50bde92d269c34b79d0d19949630.tar.gz gdb-1d4c108cec2b50bde92d269c34b79d0d19949630.tar.bz2 |
[gdb/testsuite] Fix gdb.mi/mi-sym-info.exp on openSUSE Tumbleweed
On openSUSE Tumbleweed, I run into:
...
FAIL: gdb.mi/mi-sym-info.exp: List all functions from debug information only
...
The problem is in matching this string:
...
{name="_start",type="void (void)",description="void _start(void);"}
...
using regexp fun_re, which requires a line field:
...
set fun_re \
"\{line=\"$decimal\",name=${qstr},type=${qstr},description=${qstr}\}"
...
Fix this by making the line field optional in fun_re.
Tested on x86_64-linux.
Diffstat (limited to 'gprofng')
0 files changed, 0 insertions, 0 deletions