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 <alon.bar...@gmail.com> 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