From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Pik-0003XH-2E for qemu-devel@nongnu.org; Tue, 23 Jun 2015 11:02:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Pif-0004O2-Sc for qemu-devel@nongnu.org; Tue, 23 Jun 2015 11:02:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Pif-0004No-NY for qemu-devel@nongnu.org; Tue, 23 Jun 2015 11:02:37 -0400 Date: Tue, 23 Jun 2015 16:02:32 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150623150232.GD2167@work-vm> References: <1435070633-20071-1-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] gdb command: qemu iohandlers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Stefan Hajnoczi , Juan Quintela * Peter Maydell (peter.maydell@linaro.org) wrote: > On 23 June 2015 at 15:43, Dr. David Alan Gilbert (git) > wrote: > > From: "Dr. David Alan Gilbert" > > > > Add a gdb command to print the current set of IOHandlers and > > if one of them is a thread yielding for data print the backtrace. > > > > Useful for debugging why an incoming migration has stalled, e.g. > > I'd rather we did the split of qemu-gdb.py into one subfile > per command before adding new ones: see patches 1 and 2 in > this series: > https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg02961.html No problem - I'm happy to rework after that split goes in. Note I'm using the bt_jmpbuf function which that patchset puts in coroutine.py; maybe there would be a better way to share it. Dave > > thanks > -- PMM -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK