*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / alpha-linux-tdep.c
index 3c71f2f03cd419ba6f0b0debebb1b3f6166f45f0..9efc5bd6fe9932fd0235002b60d38a39cd297ad2 100644 (file)
@@ -1,6 +1,5 @@
 /* Target-dependent code for GNU/Linux on Alpha.
-   Copyright (C) 2002, 2003, 2007, 2008, 2009, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -26,7 +25,7 @@
 #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
@@ -41,8 +40,7 @@
      (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)
@@ -94,7 +92,7 @@ alpha_linux_sigtramp_offset (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;
 }
@@ -120,8 +118,8 @@ alpha_linux_sigcontext_addr (struct frame_info *this_frame)
          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;
 
@@ -212,6 +210,8 @@ alpha_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
   struct gdbarch_tdep *tdep;
 
+  linux_init_abi (info, gdbarch);
+
   /* Hook into the DWARF CFI frame unwinder.  */
   alpha_dwarf2_init_abi (info, gdbarch);
 
This page took 0.024453 seconds and 4 git commands to generate.