Received: from eggs.gnu.org ([2001:4830:134:3::10]:59805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX8fQ-0001TZ-Fx for qemu-devel@nongnu.org; Wed, 02 Sep 2015 10:05:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX8fJ-0006cT-Nq for qemu-devel@nongnu.org; Wed, 02 Sep 2015 10:05:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX8fJ-0006cL-IX for qemu-devel@nongnu.org; Wed, 02 Sep 2015 10:05:29 -0400 Date: Wed, 2 Sep 2015 15:05:25 +0100 From: Stefan Hajnoczi Message-ID: <20150902140525.GG1924@stefanha-thinkpad.redhat.com> References: <1439574392-4403-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439574392-4403-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH v2 0/4] scripts/qemu-gdb: Split into modules List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Jan Kiszka , Markus Armbruster , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" , patches@linaro.org On Fri, Aug 14, 2015 at 06:46:28PM +0100, Peter Maydell wrote: > This patch series splits scripts/qemu-gdb into separate > files for each command, to make it easier to add new > commands in future without them all going into a single > huge file. > > Patches 1 and 2 do that split, and have been on the list > before (and reviewed by Stefan). > > Patch 3 makes the script tell gdb not to stop on SIGUSR1, > since that's our SIGIPI and happens all the time. > > Patch 4 adds a brief comment explaining how to source the > script. NB that I haven't attempted to make the script > work with automatic-sourcing based on the executable > being debugged. Somebody who uses the script that way > can do that :-) > > I've dropped the script which added support for setting > breakpoints on QEMU tracepoints for the moment (pending > investigating static probe point support which might > render it unnecessary). Mostly I'd like to get these > into master so that future debug commands can go into > the right place -- IIRC David Gilbert had a patchset > which added another command. > > thanks > -- PMM > > Peter Maydell (4): > scripts/qemu-gdb: Split MtreeCommand into its own module > scripts/qemu-gdb: Split CoroutineCommand into its own file > scripts/qemu-gdb: Silently pass through SIGUSR1 > scripts/qemu-gdb: Add brief comment describing usage > > scripts/qemu-gdb.py | 146 ++++--------------------------------------- > scripts/qemugdb/__init__.py | 28 +++++++++ > scripts/qemugdb/coroutine.py | 91 +++++++++++++++++++++++++++ > scripts/qemugdb/mtree.py | 82 ++++++++++++++++++++++++ > 4 files changed, 212 insertions(+), 135 deletions(-) > create mode 100644 scripts/qemugdb/__init__.py > create mode 100644 scripts/qemugdb/coroutine.py > create mode 100644 scripts/qemugdb/mtree.py > > -- > 1.9.1 > Reviewed-by: Stefan Hajnoczi