From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11051 invoked by alias); 13 Feb 2012 20:31:07 -0000 Received: (qmail 11037 invoked by uid 22791); 13 Feb 2012 20:31:06 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_QE X-Spam-Check-By: sourceware.org Received: from mail-gx0-f169.google.com (HELO mail-gx0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Feb 2012 20:30:53 +0000 Received: by ggnf1 with SMTP id f1so3206833ggn.0 for ; Mon, 13 Feb 2012 12:30:52 -0800 (PST) Received: by 10.50.140.105 with SMTP id rf9mr22540331igb.24.1329165052608; Mon, 13 Feb 2012 12:30:52 -0800 (PST) Received: from giga.mcgary.org ([65.101.31.122]) by mx.google.com with ESMTPS id k3sm15573761igq.1.2012.02.13.12.30.50 (version=SSLv3 cipher=OTHER); Mon, 13 Feb 2012 12:30:51 -0800 (PST) Message-ID: <4F3972F3.6030909@gmail.com> Date: Mon, 13 Feb 2012 20:31:00 -0000 From: Greg McGary User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 MIME-Version: 1.0 To: Tom Tromey CC: gdb@sourceware.org Subject: Re: gdb testsuite with remote target of qemu in linux-user mode? References: <4F32E7E4.9040408@gmail.com> <878vka9zoz.fsf@fleche.redhat.com> In-Reply-To: <878vka9zoz.fsf@fleche.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00040.txt.bz2 On 02/10/12 13:54, Tom Tromey wrote: > >>>>> "Greg" == Greg McGary writes: > > Greg> Does anyone use gdb testsuite with remote target of qemu in > Greg> linux-user mode? I see no mention of qemu as a remote simulator > Greg> in dejagnu, or in gdb/testsuite. > > Greg> I threw together a qemu.exp to do this, and it seems to work OK > Greg> everywhere except with mi-support.exp, which does not appear to > Greg> have infrastructure to spawn an external simulator. > > I haven't heard of anything, but I think it would be a welcome addition > to gdb/testsuite/boards, if you are so inclined. Correction: mi-support.exp can spawn sid, which is external. I think the sensible thing to do is take the sid.exp code and generalize it to become an external-sim framework, then write a small qemu.exp and new sid.exp to use it. Maybe in a few weeks, if I survive this month's death march. :-) G