qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [gdbstub] qemu is killed by gdb


From: Alon Bar-Lev
Subject: Re: [Qemu-devel] [gdbstub] qemu is killed by gdb
Date: Sun, 10 Jul 2016 23:52:01 +0300

Hi,
Is someone interested in making gdb work when debugging qemu using -s -S?
Currently qemu just quits, see below.
Thanks!
Alon

On 5 July 2016 at 22:50, Alon Bar-Lev <address@hidden> wrote:
> 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/ce0274f730eacbd24c706523ddbbabb6b95d0659



reply via email to

[Prev in Thread] Current Thread [Next in Thread]