Add '_' in the match pattern.
authorHafiz Abid Qadeer <abidh@codesourcery.com>
Tue, 18 Sep 2018 10:23:30 +0000 (11:23 +0100)
committerHafiz Abid Qadeer <abidh@codesourcery.com>
Thu, 20 Sep 2018 15:46:00 +0000 (16:46 +0100)
commita466edac5f9913e3373e59335607e9666a0ac8c7
tree0e227e6b7a32909c54e1fcf0c28b6124e6be99ed
parentfa9d2bd6b819ce143c149cee83456fa9dfe729b4
Add '_' in the match pattern.

I was looking at GDB testcase results for arm-eabi target with qemu and
noticed that register groups returned by the qemu can have '_' in the
name e.g. 'cp_regs'. The reggroups.exp fails to recognize that as group
name. Fixed by adding '_' in the pattern.

2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>

gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/reggroups.exp