From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14715 invoked by alias); 23 Feb 2009 18:36:14 -0000 Received: (qmail 14707 invoked by uid 22791); 23 Feb 2009 18:36:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Feb 2009 18:36:08 +0000 Received: (qmail 18127 invoked from network); 23 Feb 2009 18:36:05 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Feb 2009 18:36:05 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: Modernize solaris threads support. Date: Mon, 23 Feb 2009 20:09:00 -0000 User-Agent: KMail/1.9.10 References: <200902160549.49108.pedro@codesourcery.com> <200902230005.24063.pedro@codesourcery.com> <200902230051.44044.pedro@codesourcery.com> In-Reply-To: <200902230051.44044.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902231836.13188.pedro@codesourcery.com> X-IsSubscribed: yes 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: 2009-02/txt/msg00450.txt.bz2 I had converted three other callbacks in this file, but missed gdbsim_resume. remote-sim.o isn't built with a x86-64-linux --enable-targets=all configuration. I just built a --target=arm-elf gdb to confirm this builds OK now. Checked in. -- Pedro Alves 2009-02-23 Pedro Alves * remote-sim.c (gdbsim_resume): Add target_ops* argument. --- gdb/remote-sim.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: src/gdb/remote-sim.c =================================================================== --- src.orig/gdb/remote-sim.c 2009-02-23 18:20:05.000000000 +0000 +++ src/gdb/remote-sim.c 2009-02-23 18:23:28.000000000 +0000 @@ -82,8 +82,6 @@ static void gdbsim_close (int quitting); static void gdbsim_detach (struct target_ops *ops, char *args, int from_tty); -static void gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal); - static void gdbsim_prepare_to_store (struct regcache *regcache); static void gdbsim_files_info (struct target_ops *target); @@ -614,7 +612,8 @@ static enum target_signal resume_siggnal static int resume_step; static void -gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal) +gdbsim_resume (struct target_ops *ops, + ptid_t ptid, int step, enum target_signal siggnal) { if (!ptid_equal (inferior_ptid, remote_sim_ptid)) error (_("The program is not being run."));