* tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
authorWalter Lee <walt@tilera.com>
Tue, 19 Feb 2013 16:19:33 +0000 (16:19 +0000)
committerWalter Lee <walt@tilera.com>
Tue, 19 Feb 2013 16:19:33 +0000 (16:19 +0000)
commit4aaf25031b9372b24fa813709dd310724696a5bf
tree633821bb186aef8a03b51edebbb38f9a353914b4
parentbc23a95694a60908843d626bb29bdc7e241a9ad3
    * 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.
gdb/ChangeLog
gdb/tilegx-linux-nat.c
gdb/tilegx-linux-tdep.c
gdb/tilegx-tdep.c
gdb/tilegx-tdep.h