diff options
Diffstat (limited to 'gdb/ia64-tdep.c')
-rw-r--r-- | gdb/ia64-tdep.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 63959b7..681c560 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -126,8 +126,6 @@ static CORE_ADDR ia64_find_global_pointer (struct gdbarch *gdbarch, #define NUM_IA64_RAW_REGS 462 static int sp_regnum = IA64_GR12_REGNUM; -static int fp_regnum = IA64_VFP_REGNUM; -static int lr_regnum = IA64_VRAP_REGNUM; /* NOTE: we treat the register stack registers r32-r127 as pseudo-registers because they may not be accessible via the ptrace @@ -1399,7 +1397,6 @@ examine_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, && it == M && ((instr & 0x1ee0000003fLL) == 0x02c00000000LL)) { /* alloc - start of a regular function. */ - int sor = (int) ((instr & 0x00078000000LL) >> 27); int sol = (int) ((instr & 0x00007f00000LL) >> 20); int sof = (int) ((instr & 0x000000fe000LL) >> 13); int rN = (int) ((instr & 0x00000001fc0LL) >> 6); @@ -1850,7 +1847,7 @@ ia64_frame_cache (struct frame_info *this_frame, void **this_cache) enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); struct ia64_frame_cache *cache; gdb_byte buf[8]; - CORE_ADDR cfm, psr; + CORE_ADDR cfm; if (*this_cache) return (struct ia64_frame_cache *) *this_cache; @@ -1868,7 +1865,6 @@ ia64_frame_cache (struct frame_info *this_frame, void **this_cache) cache->bsp = extract_unsigned_integer (buf, 8, byte_order); get_frame_register (this_frame, IA64_PSR_REGNUM, buf); - psr = extract_unsigned_integer (buf, 8, byte_order); get_frame_register (this_frame, IA64_CFM_REGNUM, buf); cfm = extract_unsigned_integer (buf, 8, byte_order); @@ -3723,7 +3719,7 @@ ia64_push_dummy_call (struct gdbarch *gdbarch, struct value *function, int nslots, rseslots, memslots, slotnum, nfuncargs; int floatreg; ULONGEST bsp; - CORE_ADDR funcdescaddr, pc, global_pointer; + CORE_ADDR funcdescaddr, global_pointer; CORE_ADDR func_addr = find_function_addr (function, NULL); nslots = 0; |