aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.c
diff options
context:
space:
mode:
authorAnton Kolesov <Anton.Kolesov@synopsys.com>2017-02-10 14:11:46 +0300
committerAnton Kolesov <Anton.Kolesov@synopsys.com>2017-03-28 21:01:44 +0300
commit296ec4fa2afb14abc400fa0109d7288eb958c544 (patch)
treece9fc3e1ff489b27ee5293448ce89a1cf2231aa1 /gdb/inferior.c
parent081c108e3688d67f257d4b98c9012ef2677b3b18 (diff)
downloadgdb-296ec4fa2afb14abc400fa0109d7288eb958c544.zip
gdb-296ec4fa2afb14abc400fa0109d7288eb958c544.tar.gz
gdb-296ec4fa2afb14abc400fa0109d7288eb958c544.tar.bz2
arc: Align internal regnums with architectural regnums
Add ARC_LIMM_REGNUM to arc_regnum enumeration and assign a number 62 to it. This ensures that for core registers internal register numbers in this enum are the same as architectural numbers. This allows to use internal register numbers in the contexts where architectural number is implied, for example when disassembling instruction during prologue analysis. gdb/ChangeLog: yyyy-mm-dd Anton Kolesov <anton.kolesov@synopsys.com> * arc-tdep.c (core_v2_register_names, core_arcompact_register_names) Add "limm" and "reserved". (arc_cannot_fetch_register, arc_cannot_store_register): Add ARC_RESERVED_REGNUM and ARC_LIMM_REGNUM. * arc-tdep.h (arc_regnum): Likewise.
Diffstat (limited to 'gdb/inferior.c')
0 files changed, 0 insertions, 0 deletions