summaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorsergiodj <sergiodj>2012-08-22 21:31:14 +0000
committersergiodj <sergiodj>2012-08-22 21:31:14 +0000
commita9b502d32998feb5232900caacd0434c5dd83cfd (patch)
tree234d373af611822bad43c84b1a08a006aac2ef56 /gdb/remote-sim.c
parent725d349ca33589b5090ed8ab01b2183e79a519e7 (diff)
downloadgdb-a9b502d32998feb5232900caacd0434c5dd83cfd.tar.gz
2012-08-22 Sergio Durigan Junior <sergiodj@redhat.com>
* remote-sim.c (_initialize_remote_sim): Pass NULL argument to `register_inferior_data_with_cleanup', fixing regression on PowerPC64.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 87910d9cb51..d87f66842b7 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -1322,5 +1322,5 @@ _initialize_remote_sim (void)
set_cmd_completer (c, sim_command_completer);
sim_inferior_data_key
- = register_inferior_data_with_cleanup (sim_inferior_data_cleanup);
+ = register_inferior_data_with_cleanup (NULL, sim_inferior_data_cleanup);
}