2012-02-20 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Mon, 20 Feb 2012 09:40:57 +0000 (09:40 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 20 Feb 2012 09:40:57 +0000 (09:40 +0000)
* amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
value.

gdb/ChangeLog
gdb/amd64-darwin-tdep.c

index e9922aa3ee0ad8ac82228c61ca85bd989083628b..5ca151003c3042ed8175b7a675362e7e6eed1f54 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-20  Tristan Gingold  <gingold@adacore.com>
+
+       * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
+       value.
+
 2012-20-18  Joel Brobecker  <brobecker@adacore.com>
 
        * breakpoint.c (watchpoint_exp_is_const): Add missing empty line
@@ -14,9 +19,9 @@
        * python/py-utils.c (gdb_py_generic_dict): New function.
 
 2012-02-17  Tristan Gingold  <gingold@adacore.com>
+
        * solib-darwin.c (darwin_current_sos): Check magic and filetype
+
 2012-02-17  Thomas Schwinge  <thomas@codesourcery.com>
 
        * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of
index 6242ada5335d74920d4c3b66d2b70aa2cc5dcfea..78b805abfc6499713bfb4ae72bff2058639e86b9 100644 (file)
@@ -115,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);
 }