aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64fbsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-11-05 22:54:46 +0000
committerMark Kettenis <kettenis@gnu.org>2003-11-05 22:54:46 +0000
commitdac9410586f447f37c64eba43a72c7dfd5625629 (patch)
tree0e1b02d21ec348c937a87ac4ee809a74dcf50f5f /gdb/amd64fbsd-tdep.c
parent85bf2b9128ab5c220ae036533fe44c3868cc26a7 (diff)
downloadgdb-dac9410586f447f37c64eba43a72c7dfd5625629.zip
gdb-dac9410586f447f37c64eba43a72c7dfd5625629.tar.gz
gdb-dac9410586f447f37c64eba43a72c7dfd5625629.tar.bz2
* amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of
%rsp, %rip and %eflags to match ABI-change.
Diffstat (limited to 'gdb/amd64fbsd-tdep.c')
-rw-r--r--gdb/amd64fbsd-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/amd64fbsd-tdep.c b/gdb/amd64fbsd-tdep.c
index b2c3108..bb44ec0 100644
--- a/gdb/amd64fbsd-tdep.c
+++ b/gdb/amd64fbsd-tdep.c
@@ -83,7 +83,7 @@ int amd64fbsd_sc_reg_offset[X86_64_NUM_GREGS] =
24 + 1 * 8, /* %rsi */
24 + 0 * 8, /* %rdi */
24 + 8 * 8, /* %rbp */
- 24 + 21 * 8, /* %rsp */
+ 24 + 22 * 8, /* %rsp */
24 + 4 * 8, /* %r8 */
24 + 5 * 8, /* %r9 */
24 + 9 * 8, /* %r10 */
@@ -92,8 +92,8 @@ int amd64fbsd_sc_reg_offset[X86_64_NUM_GREGS] =
24 + 12 * 8, /* %r13 */
24 + 13 * 8, /* %r14 */
24 + 14 * 8, /* %r15 */
- 24 + 18 * 8, /* %rip */
- 24 + 20 * 8, /* %eflags */
+ 24 + 19 * 8, /* %rip */
+ 24 + 21 * 8, /* %eflags */
-1, /* %ds */
-1, /* %es */
-1, /* %fs */