This removes a couple of unused variables from riscv-fbsd-tdep.c.
This allows a --enable-targets=all build to complete on
x86-64 Fedora 28.
gdb/ChangeLog
2018-10-08 Tom Tromey <tom@tromey.com>
* riscv-fbsd-tdep.c (riscv_fbsd_sigframe_init): Remove unused
variable.
(riscv_fbsd_init_abi): Likewise.
+2018-10-08 Tom Tromey <tom@tromey.com>
+
+ * riscv-fbsd-tdep.c (riscv_fbsd_sigframe_init): Remove unused
+ variable.
+ (riscv_fbsd_init_abi): Likewise.
+
2018-10-08 Weimin Pan <weimin.pan@oracle.com>
* valops.c (value_struct_elt_for_reference): Rename local variable
to work around the shadowing a previous local warning.
+ RISCV_SIGFRAME_UCONTEXT_OFFSET
+ RISCV_UCONTEXT_MCONTEXT_OFFSET);
gdb_byte buf[4];
- int i;
trad_frame_set_reg_regmap (this_cache, riscv_fbsd_gregmap, mcontext_addr,
RISCV_FBSD_NUM_GREGS * riscv_isa_xlen (gdbarch));
static void
riscv_fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
-
/* Generic FreeBSD support. */
fbsd_init_abi (info, gdbarch);