From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzAmR-0004jm-Bq for qemu-devel@nongnu.org; Thu, 22 May 2008 09:24:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzAmP-0004jF-V6 for qemu-devel@nongnu.org; Thu, 22 May 2008 09:24:27 -0400 Received: from [199.232.76.173] (port=43422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzAmP-0004j3-Id for qemu-devel@nongnu.org; Thu, 22 May 2008 09:24:25 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:60126) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzAmP-0003a5-17 for qemu-devel@nongnu.org; Thu, 22 May 2008 09:24:25 -0400 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 8094EDDCD3B2 for ; Thu, 22 May 2008 15:24:24 +0200 (CEST) Received: from [88.64.5.207] (helo=[192.168.1.198]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1JzAmO-00012H-00 for qemu-devel@nongnu.org; Thu, 22 May 2008 15:24:24 +0200 Message-ID: <48357404.2040608@web.de> Date: Thu, 22 May 2008 15:24:20 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1210860693-22245-1-git-send-email-jason.wessel@windriver.com> <1210860693-22245-2-git-send-email-jason.wessel@windriver.com> <1210860693-22245-3-git-send-email-jason.wessel@windriver.com> <20080515221716.GC27300@edgar.se.axis.com> <483180AD.40704@windriver.com> <291f35090805210558l3eae915ch5937c311f37f91bd@mail.gmail.com> <483455E3.1080706@windriver.com> In-Reply-To: <483455E3.1080706@windriver.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig57968612613B4013F72AE96C" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH 2/5] gdbstub: gdb pass-through qemu monitor support Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig57968612613B4013F72AE96C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jason Wessel wrote: > Maxim Gorbachyov wrote: >> On Mon, May 19, 2008 at 5:29 PM, Jason Wessel >> wrote: >> >> [cut] >> =20 >>> Seems reasonable too, see newly attached patch. >>> >>> Obviously you need the new monitor patch applied prior to this one. >>> This patch was updated against the prior patch. >>> =20 >> It was noticed [by Jan Kiszka and me] that the output on the monitor >> console goes both to the local as well as the remote one - but only if= >> you issue a command via gdb. When you type in the command locally (ie.= >> on the qemu side), that output is not forwarded to the gdb frontend. >> Is this behavior desired? >> >> >> =20 >=20 > That was certainly the intended behavior when I created the patch.=20 > There is no reason to feed the monitor output up to the debugger that > may or may not be attached. That's not what we were confused by. > The behavior could get altered to check if > the debugger is in the "continue" state and then send the information > from the monitor, but it seemed of little value to do so. Rather the contrary: What is the point of mirroring the output you see in gdb to the local monitor console? Jan --------------enig57968612613B4013F72AE96C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFINXQHniDOoMHTA+kRAhVzAJ0V1T27DAsBiT8PtKNZYDFxcQnzlgCeJaiZ GNo+Ez28UvUpMWfiYbIzzmM= =2qto -----END PGP SIGNATURE----- --------------enig57968612613B4013F72AE96C--