aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-06 12:44:56 -0400
committerMike Frysinger <vapier@gentoo.org>2021-11-06 20:32:31 -0400
commit74bbe64132d675b9a5c459f4140c6c566c7ca1bf (patch)
treea1be45e9a9bc2ff74d2c2e72a57ac5459f9e2535 /gdb/python
parenteea68ebb33f5a221d9ac8335ddff68d07246720a (diff)
downloadbinutils-74bbe64132d675b9a5c459f4140c6c566c7ca1bf.zip
binutils-74bbe64132d675b9a5c459f4140c6c566c7ca1bf.tar.gz
binutils-74bbe64132d675b9a5c459f4140c6c566c7ca1bf.tar.bz2
sim: sh: rework register layout with anonymous unions & structs
Now that we require C11, we can leverage anonymous unions & structs to fix a long standing issue with the SH register layout. The use of sregs.i for sh-dsp has generated a lot of compiler warnings about the access being out of bounds -- it only has 7 elements declared, but code goes beyond that to reach into the fregs that follow. But now that we have anonymous unions, we can reduce the nested names and have sregs cover all of these registers.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions