diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/amd64fbsd-tdep.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8b3e3f4..c07c1f8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-11-05 Mark Kettenis <kettenis@gnu.org> + + * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of + %rsp, %rip and %eflags to match ABI-change. + 2003-11-05 Jeff Johnston <jjohnstn@redhat.com> * ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field. 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 */ |