/* Target-dependent code for GNU/Linux on Alpha.
- Copyright (C) 2002, 2003, 2007, 2008, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2007-2012 Free Software Foundation, Inc.
This file is part of GDB.
#include "symtab.h"
#include "regset.h"
#include "regcache.h"
-
+#include "linux-tdep.h"
#include "alpha-tdep.h"
/* Under GNU/Linux, signal handler invocations can be identified by
(2) the kernel has changed from using "addq" to "lda" to load the
syscall number,
(3) there is a "normal" sigreturn and an "rt" sigreturn which
- has a different stack layout.
-*/
+ has a different stack layout. */
static long
alpha_linux_sigtramp_offset_1 (struct gdbarch *gdbarch, CORE_ADDR pc)
static int
alpha_linux_pc_in_sigtramp (struct gdbarch *gdbarch,
- CORE_ADDR pc, char *func_name)
+ CORE_ADDR pc, const char *func_name)
{
return alpha_linux_sigtramp_offset (gdbarch, pc) >= 0;
}
struct ucontext uc;
};
- offsetof (struct rt_sigframe, uc.uc_mcontext);
- */
+ offsetof (struct rt_sigframe, uc.uc_mcontext); */
+
if (alpha_read_insn (gdbarch, pc - off + 4) == 0x201f015f)
return sp + 176;
{
struct gdbarch_tdep *tdep;
+ linux_init_abi (info, gdbarch);
+
/* Hook into the DWARF CFI frame unwinder. */
alpha_dwarf2_init_abi (info, gdbarch);