From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3711 invoked by alias); 14 Feb 2012 15:16:11 -0000 Received: (qmail 3702 invoked by uid 22791); 14 Feb 2012 15:16:09 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,TW_QE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Feb 2012 15:15:56 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 63F9E1B400F; Tue, 14 Feb 2012 15:15:54 +0000 (UTC) From: Mike Frysinger To: gdb@sourceware.org Subject: Re: gdb testsuite with remote target of qemu in linux-user mode? Date: Tue, 14 Feb 2012 15:16:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.2.0; KDE/4.6.5; x86_64; ; ) Cc: Greg McGary , Tom Tromey References: <4F32E7E4.9040408@gmail.com> <878vka9zoz.fsf@fleche.redhat.com> <4F3972F3.6030909@gmail.com> In-Reply-To: <4F3972F3.6030909@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1560154.3mWd00HLvV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201202141015.54166.vapier@gentoo.org> X-IsSubscribed: yes 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/msg00042.txt.bz2 --nextPart1560154.3mWd00HLvV Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1211 On Monday 13 February 2012 15:30:43 Greg McGary wrote: > On 02/10/12 13:54, Tom Tromey wrote: > > >>>>> "Greg" =3D=3D 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. > >=20 > > 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. > >=20 > > I haven't heard of anything, but I think it would be a welcome addition > > to gdb/testsuite/boards, if you are so inclined. >=20 > 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. i'm not entirely clear on what you want to do. when you compile programs, = you=20 want to run them through qemu-user to verify they execute properly ? or yo= u=20 want to launch qemu-user in gdb mode and then have gdb connect to that remo= te=20 target ? -mike --nextPart1560154.3mWd00HLvV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPOnqnAAoJEEFjO5/oN/WB+FQP/0uVBAvpHeRem8oMcSne7Hpr OWA+TQ6PFVAjsGJ8FazlJGb8JTbGicFpW/sXTLExvhnXap44fHbWEUC3YOn/VQHn npBaXgyxhduAplRrtme70jNWpOWFOwJvyj5kC7Vc2wTeuVbWFggtUzqVDiNPgV5M KJ1GoH/sxOhM7ddXElCub17b77pQLrUaFCI1EajCVVmzzhhTcqw/DTuFuIxekWct 2Qv9DvamzWXy/KbnhZ0WNR0BZYZOjtXNjq7GeGecLmXfUk8u4dndOqpryzUYelgt qicoD1FXJRI1YTQwR8D58G4N8lnVv6SiorvWhgifkP39droML1tRZJPx49WxiG1L uIJPmi/EYUhnZaQacupAWk65ShwFAryNtxO7H466PAkdHmiqnMSksKsgESOxbVNZ 3MWY9n5tRsEPzNpZYsogle/ztc50kbNhwlXfHoGtDWC5+HAm/Bhh+V2rKt1CTEDp Cbmjocdt+U9FmDLKd/jHeo4RbBE+TYuSALqj8Vkx8+XrJxDPbg7UsvKtQe+SfOr6 NiUq3f8XE+WtAHaVEVgvlefVruF3ZaTqrgIvBh1/dSsi5mu3nAhlWa0DtAudRVna QL1cRbfzbJfmcXTRy/2uHM1QSekyAzF0zx/Q4lphzCZT0Y2nlJlqx2MMS7lI0qqq 2bc5OK70MYFdnHw7xfJf =Em8T -----END PGP SIGNATURE----- --nextPart1560154.3mWd00HLvV--