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 e9922aa..5ca1510 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 6242ada..78b805a 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);
 }