From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32276 invoked by alias); 23 Aug 2012 16:27:28 -0000 Received: (qmail 32251 invoked by uid 22791); 23 Aug 2012 16:27:23 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Aug 2012 16:27:10 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 23 Aug 2012 17:27:09 +0100 Received: from [10.1.69.70] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 23 Aug 2012 17:29:02 +0100 Message-ID: <503659DC.80006@arm.com> Date: Thu, 23 Aug 2012 16:27:00 -0000 From: Ramana Radhakrishnan Reply-To: ramrad01@arm.com User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [Patch remote-sim] Adjust call to register_inferior_data_with_cleanup. X-MC-Unique: 112082317270902501 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00670.txt.bz2 Obvious fix. Ok to commit and if so, can someone commit this for me ? Checked that a=20 cross gdb to arm builds. regards, Ramana 2012-08-23 Ramana Radhakrishnan * 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 - =3D register_inferior_data_with_cleanup (sim_inferior_data_cleanup); + =3D register_inferior_data_with_cleanup (NULL, sim_inferior_data_cleanup); }