From 6f1248943ba899577d875a70e3e4b6057a048337 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 20 Feb 2012 09:40:57 +0000 Subject: [PATCH] 2012-02-20 Tristan Gingold * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset value. --- gdb/ChangeLog | 9 +++++++-- gdb/amd64-darwin-tdep.c | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e9922aa3ee0..5ca151003c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-02-20 Tristan Gingold + + * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset + value. + 2012-20-18 Joel Brobecker * 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 - + * solib-darwin.c (darwin_current_sos): Check magic and filetype - + 2012-02-17 Thomas Schwinge * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c index 6242ada5335..78b805abfc6 100644 --- a/gdb/amd64-darwin-tdep.c +++ b/gdb/amd64-darwin-tdep.c @@ -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); } -- 2.30.2