2012-02-24 Luis Machado <lgustavo@codesourcery>
[deliverable/binutils-gdb.git] / gdb / amd64-darwin-tdep.c
index 8b4a7bb166a5524c4369661e7b22feef2e338042..78b805abfc6499713bfb4ae72bff2058639e86b9 100644 (file)
@@ -1,6 +1,5 @@
 /* Darwin support for GDB, the GNU debugger.
-   Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright 1997-2002, 2005, 2008-2012 Free Software Foundation, Inc.
 
    Contributed by Apple Computer, Inc.
 
@@ -55,7 +54,7 @@ int amd64_darwin_thread_state_reg_offset[] =
   4 * 8,                       /* %rdi */
   6 * 8,                       /* %rbp */
   7 * 8,                       /* %rsp */
-  8 * 8,                       /* %r8 ... */
+  8 * 8,                       /* %r8 ...  */
   9 * 8,
   10 * 8,
   11 * 8,
@@ -116,7 +115,7 @@ x86_darwin_init_abi_64 (struct gdbarch_info info, struct gdbarch *gdbarch)
   tdep->sc_reg_offset = amd64_darwin_thread_state_reg_offset;
   tdep->sc_num_regs = amd64_darwin_thread_state_num_regs;
 
-  tdep->jb_pc_offset = 148;
+  tdep->jb_pc_offset = 56;
 
   set_solib_ops (gdbarch, &darwin_so_ops);
 }
This page took 0.023579 seconds and 4 git commands to generate.