aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2012-08-22 21:31:17 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2012-08-22 21:31:17 +0000
commitc5d9b215bd704efc2b2a3b7dfaf5c79347aae4ef (patch)
tree5a5d1f535661dcc36a24b7d3f8d2bff23cf67371
parent037bbc8eeaf8e6f3a5e185e78268aa71a1159ae7 (diff)
downloadgdb-c5d9b215bd704efc2b2a3b7dfaf5c79347aae4ef.zip
gdb-c5d9b215bd704efc2b2a3b7dfaf5c79347aae4ef.tar.gz
gdb-c5d9b215bd704efc2b2a3b7dfaf5c79347aae4ef.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-sim.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cb69076..78c2923 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2012-08-22 Khoo Yit Phang <khooyp@cs.umd.edu>
Enable readline in Python in a GDB-specific way and block the
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 87910d9..d87f668 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);
}