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

2016-07-10 Thread Alon Bar-Lev
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 wrote: > Hello, > > I am aware that this was discussed many times, however, problem remains. > > Use case loading u-boot. > > 1. R

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

2016-07-05 Thread Alon Bar-Lev
On 5 July 2016 at 23:17, KONRAD Frederic wrote: > Hi Alon, > > Which repos/branch are you using? > If you are using mttcg (the repo you mention in [1]) this is a known bug. Hi, I use qemu releases or qemu master. I only referenced the [1] to show that this was already discussed, fixed, reverted,

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

2016-07-05 Thread KONRAD Frederic
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 à 21:50, Alon Bar-Lev a écrit : Hello, I am aware that this was discussed many times, however, problem remains. Use case loading u-boot. 1. Run qem

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

2016-07-05 Thread Alon Bar-Lev
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