From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32496 invoked by alias); 15 Aug 2008 13:08:56 -0000 Received: (qmail 32485 invoked by uid 22791); 15 Aug 2008 13:08:55 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Aug 2008 13:08:20 +0000 Received: (qmail 24404 invoked from network); 15 Aug 2008 13:08:18 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Aug 2008 13:08:18 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [RFA] Remove unnecessary target defaults. Date: Fri, 15 Aug 2008 13:08:00 -0000 User-Agent: KMail/1.9.9 Cc: Vladimir Prus References: <200808151645.31042.vladimir@codesourcery.com> In-Reply-To: <200808151645.31042.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808151408.42896.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: 2008-08/txt/msg00402.txt.bz2 On Friday 15 August 2008 13:45:30, Vladimir Prus wrote: > - de_fault (to_can_async_p, > - (int (*) (void)) > - return_zero); > - de_fault (to_is_async_p, > - (int (*) (void)) > - return_zero); I believe this is incorrect. You don't notice it when connected to remote, because those methods are implemented in remote_ops. But, when connected to e.g., remote-sim.c, and because gdbsim_ops doesn't define those, you'll inherit the dummy target's implementation, which looks for asyncness in the default run target instead --- while you should be looking for asyncness in the remote-sim target. -- Pedro Alves