summaryrefslogtreecommitdiff
path: root/devel/gdb/files/kgdb/ppcfbsd-kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb/files/kgdb/ppcfbsd-kern.c')
-rw-r--r--devel/gdb/files/kgdb/ppcfbsd-kern.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/gdb/files/kgdb/ppcfbsd-kern.c b/devel/gdb/files/kgdb/ppcfbsd-kern.c
index 73522e482ab3..35d99d3b25d7 100644
--- a/devel/gdb/files/kgdb/ppcfbsd-kern.c
+++ b/devel/gdb/files/kgdb/ppcfbsd-kern.c
@@ -109,10 +109,9 @@ ppcfbsd_trapframe_cache (struct frame_info *this_frame, void **this_cache)
{
struct gdbarch *gdbarch = get_frame_arch (this_frame);
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
struct trad_frame_cache *cache;
CORE_ADDR base;
- int i, regnum;
+ int i;
if (*this_cache)
return (struct trad_frame_cache *)*this_cache;