/* Target-dependent code for FreeBSD/alpha.
- Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008, 2009
- Free Software Foundation, Inc.
+ Copyright (C) 2001-2014 Free Software Foundation, Inc.
This file is part of GDB.
CORE_ADDR alphafbsd_sigtramp_end = 0x11ffffe0;
static int
-alphafbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
+alphafbsd_pc_in_sigtramp (struct gdbarch *gdbarch,
+ CORE_ADDR pc, const char *func_name)
{
return (pc >= alphafbsd_sigtramp_start && pc < alphafbsd_sigtramp_end);
}
static LONGEST
-alphafbsd_sigtramp_offset (CORE_ADDR pc)
+alphafbsd_sigtramp_offset (struct gdbarch *gdbarch, CORE_ADDR pc)
{
return pc - alphafbsd_sigtramp_start;
}
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+ /* FIXME: Should activate generic FreeBSD support here with
+ fbsd_init_abi(), but this requires a valid
+ 'iterate_over_regset_sections' gdbarch method and
+ 'collect_regset' functions for each regset. */
+
/* Hook into the DWARF CFI frame unwinder. */
alpha_dwarf2_init_abi (info, gdbarch);