diff options
author | Walter Lee <walt@tilera.com> | 2013-02-19 16:19:33 +0000 |
---|---|---|
committer | Walter Lee <walt@tilera.com> | 2013-02-19 16:19:33 +0000 |
commit | 4aaf25031b9372b24fa813709dd310724696a5bf (patch) | |
tree | 633821bb186aef8a03b51edebbb38f9a353914b4 /gdb/tilegx-linux-nat.c | |
parent | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack (diff) | |
download | binutils-gdb-4aaf25031b9372b24fa813709dd310724696a5bf.tar.gz binutils-gdb-4aaf25031b9372b24fa813709dd310724696a5bf.tar.bz2 binutils-gdb-4aaf25031b9372b24fa813709dd310724696a5bf.zip |
* 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-linux-nat.c')
-rw-r--r-- | gdb/tilegx-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tilegx-linux-nat.c b/gdb/tilegx-linux-nat.c index 442970b1654..39c62ac1eee 100644 --- a/gdb/tilegx-linux-nat.c +++ b/gdb/tilegx-linux-nat.c @@ -65,7 +65,7 @@ static const int regmap[] = 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, -1, -1, -1, -1, -1, -1, -1, -1, - 56 + 56, 58 }; /* Transfering the general-purpose registers between GDB, inferiors |