diff options
Diffstat (limited to 'gdb/amd64-netbsd-nat.c')
-rw-r--r-- | gdb/amd64-netbsd-nat.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/amd64-netbsd-nat.c b/gdb/amd64-netbsd-nat.c index 14a762efa62..b93a9f57c9b 100644 --- a/gdb/amd64-netbsd-nat.c +++ b/gdb/amd64-netbsd-nat.c @@ -34,29 +34,29 @@ little-endian we get away with that. */ /* From <machine/reg.h>. */ -static int amd64nbsd32_r_reg_offset[] = -{ - 14 * 8, /* %eax */ - 3 * 8, /* %ecx */ - 2 * 8, /* %edx */ - 13 * 8, /* %ebx */ - 24 * 8, /* %esp */ - 12 * 8, /* %ebp */ - 1 * 8, /* %esi */ - 0 * 8, /* %edi */ - 21 * 8, /* %eip */ - 23 * 8, /* %eflags */ - 22 * 8, /* %cs */ - 25 * 8, /* %ss */ - 18 * 8, /* %ds */ - 17 * 8, /* %es */ - 16 * 8, /* %fs */ - 15 * 8 /* %gs */ +static int amd64nbsd32_r_reg_offset[] = { + 14 * 8, /* %eax */ + 3 * 8, /* %ecx */ + 2 * 8, /* %edx */ + 13 * 8, /* %ebx */ + 24 * 8, /* %esp */ + 12 * 8, /* %ebp */ + 1 * 8, /* %esi */ + 0 * 8, /* %edi */ + 21 * 8, /* %eip */ + 23 * 8, /* %eflags */ + 22 * 8, /* %cs */ + 25 * 8, /* %ss */ + 18 * 8, /* %ds */ + 17 * 8, /* %es */ + 16 * 8, /* %fs */ + 15 * 8 /* %gs */ }; static amd64_bsd_nat_target<nbsd_nat_target> the_amd64_nbsd_nat_target; void _initialize_amd64nbsd_nat (); + void _initialize_amd64nbsd_nat () { |