aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-darwin-tdep.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-04-02 13:15:48 +0000
committerTristan Gingold <gingold@adacore.com>2012-04-02 13:15:48 +0000
commit170923983d5c290d2293e9b937cfe60b26bf67e0 (patch)
treefbbae5facbe909d13bbdf849479730bd21fe8fbd /gdb/i386-darwin-tdep.c
parentece0061f93a5a99e3f5b063d271267b6414cd129 (diff)
downloadfsf-binutils-gdb-170923983d5c290d2293e9b937cfe60b26bf67e0.zip
fsf-binutils-gdb-170923983d5c290d2293e9b937cfe60b26bf67e0.tar.gz
fsf-binutils-gdb-170923983d5c290d2293e9b937cfe60b26bf67e0.tar.bz2
2012-04-02 Tristan Gingold <gingold@adacore.com>
* i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix SS offset. * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix format_string.
Diffstat (limited to 'gdb/i386-darwin-tdep.c')
-rw-r--r--gdb/i386-darwin-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c
index ed2ca12..c353154 100644
--- a/gdb/i386-darwin-tdep.c
+++ b/gdb/i386-darwin-tdep.c
@@ -56,7 +56,7 @@ int i386_darwin_thread_state_reg_offset[] =
10 * 4, /* EIP */
9 * 4, /* EFLAGS */
11 * 4, /* CS */
- 8, /* SS */
+ 8 * 4, /* SS */
12 * 4, /* DS */
13 * 4, /* ES */
14 * 4, /* FS */