Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup.
@ 2012-08-23 16:27 Ramana Radhakrishnan
  2012-08-23 16:29 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Ramana Radhakrishnan @ 2012-08-23 16:27 UTC (permalink / raw)
  To: gdb-patches

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);
   }


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup.
  2012-08-23 16:27 [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup Ramana Radhakrishnan
@ 2012-08-23 16:29 ` Tom Tromey
  2012-08-23 18:06   ` Ramana Radhakrishnan
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2012-08-23 16:29 UTC (permalink / raw)
  To: ramrad01; +Cc: gdb-patches

>>>>> "Ramana" == Ramana Radhakrishnan <ramrad01@arm.com> writes:

Ramana> Ok to commit and if so, can someone commit this for me ? Checked that
Ramana> a cross gdb to arm builds.

Thanks for the patch.
Sergio checked in the identical fix yesterday :)

Tom


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup.
  2012-08-23 16:29 ` Tom Tromey
@ 2012-08-23 18:06   ` Ramana Radhakrishnan
  0 siblings, 0 replies; 3+ messages in thread
From: Ramana Radhakrishnan @ 2012-08-23 18:06 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

On 08/23/12 17:28, Tom Tromey wrote:
>>>>>> "Ramana" == Ramana Radhakrishnan <ramrad01@arm.com> writes:
>
> Ramana> Ok to commit and if so, can someone commit this for me ? Checked that
> Ramana> a cross gdb to arm builds.
>
> Thanks for the patch.
> Sergio checked in the identical fix yesterday :)

Bah, brain freeze used a wrong repository :( -  Sorry about the noise.



regards,
Ramana



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-23 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-23 16:27 [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup Ramana Radhakrishnan
2012-08-23 16:29 ` Tom Tromey
2012-08-23 18:06   ` Ramana Radhakrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox