X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ffrv-tdep.h;h=e4665dfe912d36a01e36482a57957c740ef52c66;hb=7be1c4891a2036c31e706908d43f33f7f59ae5a9;hp=5b9b88b93a5ca8e0aff1b8185638c9fa5d895b3d;hpb=5ecb7103b5a8ba2208afe56b7ce17fd57090285a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h index 5b9b88b93a..e4665dfe91 100644 --- a/gdb/frv-tdep.h +++ b/gdb/frv-tdep.h @@ -66,7 +66,18 @@ enum { lcr_regnum = 146, iacc0h_regnum = 147, iacc0l_regnum = 148, - last_spr_regnum = 148, + fsr0_regnum = 149, + acc0_regnum = 150, + acc7_regnum = 157, + accg0123_regnum = 158, + accg4567_regnum = 159, + msr0_regnum = 160, + msr1_regnum = 161, + gner0_regnum = 162, + gner1_regnum = 163, + fner0_regnum = 164, + fner1_regnum = 165, + last_spr_regnum = 165, /* The total number of registers we know exist. */ frv_num_regs = last_spr_regnum + 1, @@ -76,19 +87,16 @@ enum { /* iacc0 - the 64-bit concatenation of iacc0h and iacc0l. */ iacc0_regnum = first_pseudo_regnum + 0, + accg0_regnum = first_pseudo_regnum + 1, + accg7_regnum = accg0_regnum + 7, - last_pseudo_regnum = iacc0_regnum, + last_pseudo_regnum = accg7_regnum, frv_num_pseudo_regs = last_pseudo_regnum - first_pseudo_regnum + 1, }; /* Return the FR-V ABI associated with GDBARCH. */ enum frv_abi frv_abi (struct gdbarch *gdbarch); -/* Associate a sigcontext address fetcher with GDBARCH. */ -void frv_set_sigcontext_reg_addr (struct gdbarch *gdbarch, - CORE_ADDR (*sigcontext_reg_addr) - (struct frame_info *, int, CORE_ADDR *)); - /* Fetch the interpreter and executable loadmap addresses (for shared library support) for the FDPIC ABI. Return 0 if successful, -1 if not. (E.g, -1 will be returned if the ABI isn't the FDPIC ABI.) */ @@ -103,3 +111,8 @@ CORE_ADDR frv_fdpic_find_global_pointer (CORE_ADDR addr); for that function, if one exists. If no canonical descriptor could be found, return 0. */ CORE_ADDR frv_fdpic_find_canonical_descriptor (CORE_ADDR entry_point); + + +/* Given an objfile, return the address of its link map. This value is + needed for TLS support. */ +CORE_ADDR frv_fetch_objfile_link_map (struct objfile *objfile);