summaryrefslogtreecommitdiffstats
path: root/gdb/i386-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i386-nat.c')
-rw-r--r--gdb/i386-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c
index 753de67d04..e7d9b4d69b 100644
--- a/gdb/i386-nat.c
+++ b/gdb/i386-nat.c
@@ -873,7 +873,7 @@ i386_use_watchpoints (struct target_ops *t)
if (i386_inferior_data == NULL)
i386_inferior_data
- = register_inferior_data_with_cleanup (i386_inferior_data_cleanup);
+ = register_inferior_data_with_cleanup (NULL, i386_inferior_data_cleanup);
}
void
OpenPOWER on IntegriCloud