diff options
Diffstat (limited to 'gdb/i386bsd-nat.c')
-rw-r--r-- | gdb/i386bsd-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index aadf5864c92..f1182ea4e80 100644 --- a/gdb/i386bsd-nat.c +++ b/gdb/i386bsd-nat.c @@ -78,12 +78,12 @@ static int reg_offset[] = REG_OFFSET (r_ss), REG_OFFSET (r_ds), REG_OFFSET (r_es), -#ifdef HAVE_R_FS +#ifdef HAVE_STRUCT_REG_R_FS REG_OFFSET (r_fs), #else -1, #endif -#ifdef HAVE_R_GS +#ifdef HAVE_STRUCT_REG_R_GS REG_OFFSET (r_gs) #else -1 |