On 5 July 2016 at 23:17, KONRAD Frederic <fred.kon...@greensocs.com> 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, workarounded, solved but not working :) Thanks, Alon > > 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 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 >> >