* amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of

%rsp, %rip and %eflags to match ABI-change.
This commit is contained in:
Mark Kettenis 2003-11-05 22:54:46 +00:00
parent 85bf2b9128
commit dac9410586
2 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -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 */