From b34312418ab875cfb940c12c7bfea4bab9e6521b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 10 Jan 2004 12:52:41 +0000 Subject: * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust register numbers in comments. * x86-64-tdep.h: Update copyright year. (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): Adjust for addition of %cs and %ss. * amd64fbsd-nat.c: Update copyright year. (reg_offset): Add register offsets for %cs and %ss. * amd64fbsd-tdep.c: Update copyright year. (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. (amd64fbsd_sc_reg_offset): Likewise. * x86-64-linux-nat.c: Update copyright year. (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs and %ss. * amd64nbsd-nat.c: Update copyright year. (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. * amd64nbsd-tdep.c: Update copyright year. (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. * x86-64-linux-tdep.c: Update copyright year. (user_to_gdb_regmap): Add mapping for %cs and %ss. (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. * regformats/reg-x86-64.dat: Add %cs and %ss. --- gdb/amd64nbsd-nat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/amd64nbsd-nat.c') diff --git a/gdb/amd64nbsd-nat.c b/gdb/amd64nbsd-nat.c index 4af22feb7f5..da4532e69ee 100644 --- a/gdb/amd64nbsd-nat.c +++ b/gdb/amd64nbsd-nat.c @@ -1,6 +1,6 @@ /* Native-dependent code for NetBSD/amd64. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -47,8 +47,8 @@ static int amd64nbsd32_r_reg_offset[] = 0 * 8, /* %edi */ 21 * 8, /* %eip */ 23 * 8, /* %eflags */ - -1, /* %cs */ - -1, /* %ss */ + 22 * 8, /* %cs */ + 25 * 8, /* %ss */ 18 * 8, /* %ds */ 17 * 8, /* %es */ 16 * 8, /* %fs */ -- cgit v1.2.1