aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-s390.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-10-18 10:17:33 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-10-18 22:11:49 -0400
commit9454c9ce88b25646d279feed329c9cdba69b4905 (patch)
treebb310d509a7f5c4e1ece0cb3016dded9a2451baa /bfd/elf64-s390.c
parentfd320c4c29c9a1915d24a68a167a5fd6d2c27e60 (diff)
downloadgdb-9454c9ce88b25646d279feed329c9cdba69b4905.zip
gdb-9454c9ce88b25646d279feed329c9cdba69b4905.tar.gz
gdb-9454c9ce88b25646d279feed329c9cdba69b4905.tar.bz2
gdb: check for groups with duplicate names in reggroups:add
In the downstream ROCm GDB port, we would create multiple register groups with duplicate names. While it did not really hurt, it certainly wasn't the intent. And I don't think it ever makes sense to do so. To catch these, change the assert in reggroups::add to check for duplicate names. It's no longer necessary to check for duplicate reggroup pointers, because adding the same group twice would be caught by the duplicate name check. Change-Id: Id216a58acf91f1b314d3cba2d02de73656f8851d Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'bfd/elf64-s390.c')
0 files changed, 0 insertions, 0 deletions