From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWmF-0003Sq-Id for Qemu-devel@nongnu.org; Tue, 05 Jul 2016 16:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKWmA-0005RR-Py for Qemu-devel@nongnu.org; Tue, 05 Jul 2016 16:17:03 -0400 Received: from greensocs.com ([193.104.36.180]:51668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKWmA-0005Qg-Gm for Qemu-devel@nongnu.org; Tue, 05 Jul 2016 16:16:58 -0400 References: From: KONRAD Frederic Message-ID: Date: Tue, 5 Jul 2016 22:17:19 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [gdbstub] qemu is killed by gdb List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Bar-Lev , Qemu-devel@nongnu.org Hi Alon, Which repos/branch are you using? If you are using mttcg (the repo you mention in [1]) this is a known bug. Thanks, Fred Le 05/07/2016 =C3=A0 21:50, Alon Bar-Lev a =C3=A9crit : > Hello, > > I am aware that this was discussed many times, however, problem remains= . > > Use case loading u-boot. > > 1. Run qemu in debug mode: > $ qemu-system-mips -M malta -nographic -m 256 -s -S > > 2. Run gdb: > $ mips-unknown-linux-uclibceabi-gdb > (gdb) target remote :1234 > (gdb) load u-boot > (gdb) target exec > > In this case qemu master is killed by the gdb while it should remain > running, it used to work in older versions of qemu. > > There was a patch that was reverted[1] with a solution that apparently > not working. > > Is there any other sequence to load and run ELF into qemu by gdb? > > Thanks, > Alon > > [1] https://git.greensocs.com/fkonrad/mttcg/commit/ce0274f730eacbd24c70= 6523ddbbabb6b95d0659 >