aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64fbsd-nat.c')
-rw-r--r--gdb/amd64fbsd-nat.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c
index fd189ec..fe4e009 100644
--- a/gdb/amd64fbsd-nat.c
+++ b/gdb/amd64fbsd-nat.c
@@ -32,7 +32,7 @@
#include "amd64-tdep.h"
#include "amd64-nat.h"
#include "amd64bsd-nat.h"
-#include "i386-nat.h"
+#include "x86-nat.h"
/* Offset in `struct reg' where MEMBER is stored. */
@@ -145,7 +145,7 @@ static void
amd64fbsd_mourn_inferior (struct target_ops *ops)
{
#ifdef HAVE_PT_GETDBREGS
- i386_cleanup_dregs ();
+ x86_cleanup_dregs ();
#endif
super_mourn_inferior (ops);
}
@@ -167,14 +167,14 @@ _initialize_amd64fbsd_nat (void)
#ifdef HAVE_PT_GETDBREGS
- i386_use_watchpoints (t);
+ x86_use_watchpoints (t);
- i386_dr_low.set_control = amd64bsd_dr_set_control;
- i386_dr_low.set_addr = amd64bsd_dr_set_addr;
- i386_dr_low.get_addr = amd64bsd_dr_get_addr;
- i386_dr_low.get_status = amd64bsd_dr_get_status;
- i386_dr_low.get_control = amd64bsd_dr_get_control;
- i386_set_debug_register_length (8);
+ x86_dr_low.set_control = amd64bsd_dr_set_control;
+ x86_dr_low.set_addr = amd64bsd_dr_set_addr;
+ x86_dr_low.get_addr = amd64bsd_dr_get_addr;
+ x86_dr_low.get_status = amd64bsd_dr_get_status;
+ x86_dr_low.get_control = amd64bsd_dr_get_control;
+ x86_set_debug_register_length (8);
#endif /* HAVE_PT_GETDBREGS */