summaryrefslogtreecommitdiff
path: root/devel/gdb/files/kgdb/fbsd-kthr.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb/files/kgdb/fbsd-kthr.c')
-rw-r--r--devel/gdb/files/kgdb/fbsd-kthr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/gdb/files/kgdb/fbsd-kthr.c b/devel/gdb/files/kgdb/fbsd-kthr.c
index 575a7fa5af42..648fcfb0d8f6 100644
--- a/devel/gdb/files/kgdb/fbsd-kthr.c
+++ b/devel/gdb/files/kgdb/fbsd-kthr.c
@@ -155,7 +155,6 @@ kgdb_thr_init(CORE_ADDR (*cpu_pcb_addr) (u_int))
{
struct gdbarch *gdbarch = target_gdbarch ();
struct type *ptr_type = builtin_type (gdbarch)->builtin_data_ptr;
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
struct kthr *kt;
CORE_ADDR addr, paddr;
@@ -230,7 +229,7 @@ kgdb_thr_init(CORE_ADDR (*cpu_pcb_addr) (u_int))
"&((struct thread *)0)->td_plist");
thread_oncpu_size = parse_and_eval_long(
"sizeof(((struct thread *)0)->td_oncpu)");
- } CATCH(e, RETURN_MASK_ERROR) {
+ } CATCH(e2, RETURN_MASK_ERROR) {
proc_off_p_pid = offsetof(struct proc, p_pid);
proc_off_p_comm = offsetof(struct proc, p_comm);
proc_off_p_list = offsetof(struct proc, p_list);