aboutsummaryrefslogtreecommitdiff
path: root/gdb/tilegx-tdep.h
diff options
context:
space:
mode:
authorWalter Lee <walt@tilera.com>2013-02-19 16:19:33 +0000
committerWalter Lee <walt@tilera.com>2013-02-19 16:19:33 +0000
commit4aaf25031b9372b24fa813709dd310724696a5bf (patch)
tree633821bb186aef8a03b51edebbb38f9a353914b4 /gdb/tilegx-tdep.h
parentbc23a95694a60908843d626bb29bdc7e241a9ad3 (diff)
downloadgdb-4aaf25031b9372b24fa813709dd310724696a5bf.zip
gdb-4aaf25031b9372b24fa813709dd310724696a5bf.tar.gz
gdb-4aaf25031b9372b24fa813709dd310724696a5bf.tar.bz2
* tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
(tilegx_write_pc): New function. (tilegx_cannot_reference_register): Return zero if REGNO is TILEGX_FAULTNUM_REGNUM. (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. (tilegx_register_name): Add handling of "faultnum" register. * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add handling of TILEGX_FAULTNUM_REGNUM. * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
Diffstat (limited to 'gdb/tilegx-tdep.h')
-rw-r--r--gdb/tilegx-tdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tilegx-tdep.h b/gdb/tilegx-tdep.h
index c4a9e37..b598f31 100644
--- a/gdb/tilegx-tdep.h
+++ b/gdb/tilegx-tdep.h
@@ -100,8 +100,8 @@ enum tilegx_regnum
TILEGX_PC_REGNUM,
TILEGX_NUM_PHYS_REGS = TILEGX_PC_REGNUM, /* 64 */
-
- TILEGX_NUM_REGS /* 65 */
+ TILEGX_FAULTNUM_REGNUM,
+ TILEGX_NUM_REGS, /* 66 */
};
enum { tilegx_reg_size = 8 };