aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-gnu-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-gnu-nat.c')
-rw-r--r--gdb/i386-gnu-nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/i386-gnu-nat.c b/gdb/i386-gnu-nat.c
index afbe8ef..6382ca8 100644
--- a/gdb/i386-gnu-nat.c
+++ b/gdb/i386-gnu-nat.c
@@ -439,6 +439,8 @@ _initialize_i386gnu_nat ()
x86_set_debug_register_length (4);
#endif /* i386_DEBUG_STATE */
+ gnu_target = &the_i386_gnu_nat_target;
+
/* Register the target. */
add_inf_child_target (&the_i386_gnu_nat_target);
}