From: Ramana Radhakrishnan <ramrad01@arm.com>
To: gdb-patches@sourceware.org
Subject: [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup.
Date: Thu, 23 Aug 2012 16:27:00 -0000 [thread overview]
Message-ID: <503659DC.80006@arm.com> (raw)
Obvious fix.
Ok to commit and if so, can someone commit this for me ? Checked that a
cross gdb to arm builds.
regards,
Ramana
2012-08-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* remote-sim.c (_initialize_remote_sim): Adjust call to
register_inferior_data_with_cleanup.
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index b3890b8..bb3141b 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);
}
next reply other threads:[~2012-08-23 16:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 16:27 Ramana Radhakrishnan [this message]
2012-08-23 16:29 ` Tom Tromey
2012-08-23 18:06 ` Ramana Radhakrishnan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503659DC.80006@arm.com \
--to=ramrad01@arm.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox