From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9918 invoked by alias); 12 Mar 2008 19:34:50 -0000 Received: (qmail 9908 invoked by uid 22791); 12 Mar 2008 19:34:49 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Mar 2008 19:34:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id CA66E983A1; Wed, 12 Mar 2008 19:34:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id AA56098140; Wed, 12 Mar 2008 19:34:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JZWiV-0000EZ-Hu; Wed, 12 Mar 2008 15:34:23 -0400 Date: Wed, 12 Mar 2008 19:34:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] gdb.mi tests Message-ID: <20080312193423.GA837@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb-patches@sources.redhat.com References: <47D6DE48.8090003@qnx.com> <47D82C77.8020705@qnx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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-03/txt/msg00134.txt.bz2 On Wed, Mar 12, 2008 at 10:25:12PM +0300, Vladimir Prus wrote: > Aleksandar Ristovski wrote: > > >> Something like the diffs attached (I manually removed some things from my diff > >> so the diff may not be patchable, but it should be sufficient to illustrate what > >> am I talking about. > >> > > > > Attached working diff. Comments welcome. > > I don't have any objections to this course of action, if this simplifies > your testing. > > But just for the record, can you tell how you override mi_gdb_start? Of course, > assuming it's not some proprietary information. FWIW, I tried something similar long ago and Elena preferred it the way it is - you'll see that sid and gdbserver target support is also in mi-support.exp, not in config/ with the other pieces. http://sources.redhat.com/ml/gdb-patches/2002-07/msg00227.html However, CodeSourcery's test harness goes to some trouble to work around this - you still can, you just need to be handy with TCL to do it. We load mi-support.exp in our board files and use "rename". Which is a bit silly to have to do. -- Daniel Jacobowitz CodeSourcery