SHF_GNU_RETAIN 7a and 7b tests
[binutils-gdb.git] / gdb / tilegx-linux-tdep.c
index e656187849cbe9c97cbef845ee92436939c28e64..37c0790a19098c694c9ab0da5046b22e5cc8aa9b 100644 (file)
@@ -42,9 +42,9 @@ tilegx_linux_sigframe_init (const struct tramp_frame *self,
 
   /* Base address of register save area.  */
   CORE_ADDR base = sp
-                   + 16    /* Skip ABI_SAVE_AREA.  */
-                   + 128   /* Skip SIGINFO.  */
-                   + 40;   /* Skip UCONTEXT.  */
+                  + 16    /* Skip ABI_SAVE_AREA.  */
+                  + 128   /* Skip SIGINFO.  */
+                  + 40;   /* Skip UCONTEXT.  */
 
   /* Address of saved LR register (R56) which holds previous PC.  */
   CORE_ADDR prev_pc = base + 56 * 8;
@@ -55,7 +55,7 @@ tilegx_linux_sigframe_init (const struct tramp_frame *self,
     trad_frame_set_reg_addr (this_cache, i, base + i * 8);
 
   trad_frame_set_reg_value (this_cache, 64,
-                            get_frame_memory_unsigned (this_frame, prev_pc, 8));
+                           get_frame_memory_unsigned (this_frame, prev_pc, 8));
 
   /* Save a frame ID.  */
   trad_frame_set_id (this_cache, frame_id_build (base, func));
@@ -111,7 +111,7 @@ tilegx_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
   int arch_size = gdbarch_addr_bit (gdbarch);
 
-  linux_init_abi (info, gdbarch);
+  linux_init_abi (info, gdbarch, 0);
 
   tramp_frame_prepend_unwinder (gdbarch, &tilegx_linux_rt_sigframe);