]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
gdb: Add default reggroups for ARC
authorShahab Vahedi <shahab@synopsys.com>
Tue, 14 Jan 2020 23:14:24 +0000 (00:14 +0100)
committerShahab Vahedi <shahab@synopsys.com>
Tue, 26 Jan 2021 10:18:24 +0000 (11:18 +0100)
commitd0cc52bdf2e6a586cac70000518c95619970619b
treef6ca85090384d0a693c20158487d4bca7e91a8dd
parentac3571d9414d13b1f62b8efd58d6512ad29e7e33
gdb: Add default reggroups for ARC

There is no reggroups set in ARC.  If a "maintenance print reggroups"
command is issued, the default register set is dumped (which is fine).

However, if a new group is added via an XML file, then that will
become the _only_ group.  This behavior causes gdb.xml/tdesc-regs.exp
to fail.

Fixes gdb.xml/tdesc-regs.exp on ARC.

gdb/ChangeLog:

* arc-tdep.c (arc_add_reggroups): New function.
(arc_gdbarch_init): Call arc_add_reggroups.
gdb/ChangeLog
gdb/arc-tdep.c