aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-darwin-tdep.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-02-20 09:40:57 +0000
committerTristan Gingold <gingold@adacore.com>2012-02-20 09:40:57 +0000
commit6f1248943ba899577d875a70e3e4b6057a048337 (patch)
treed27f8e5187c59b78510d7c4a6b9b2c64db4ee95d /gdb/amd64-darwin-tdep.c
parentc755f03d06e8d398f97fa2fbdfe39b13a05cc924 (diff)
downloadgdb-6f1248943ba899577d875a70e3e4b6057a048337.zip
gdb-6f1248943ba899577d875a70e3e4b6057a048337.tar.gz
gdb-6f1248943ba899577d875a70e3e4b6057a048337.tar.bz2
2012-02-20 Tristan Gingold <gingold@adacore.com>
* amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset value.
Diffstat (limited to 'gdb/amd64-darwin-tdep.c')
-rw-r--r--gdb/amd64-darwin-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c
index 6242ada..78b805a 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);
}