From: KONRAD Frederic <fred.konrad@greensocs.com>
To: Alon Bar-Lev <alon.barlev@gmail.com>, Qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [gdbstub] qemu is killed by gdb
Date: Tue, 5 Jul 2016 22:17:19 +0200 [thread overview]
Message-ID: <bca18fc7-d8cf-2d4f-6390-04813ab34d53@greensocs.com> (raw)
In-Reply-To: <CAOazyz0MFaTaD-dJ3Pw4VrUaZdv1ab5oSh8t7KaOPrS9eBA7vw@mail.gmail.com>
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 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
>
next prev parent reply other threads:[~2016-07-05 20:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 19:50 [Qemu-devel] [gdbstub] qemu is killed by gdb Alon Bar-Lev
2016-07-05 20:17 ` KONRAD Frederic [this message]
2016-07-05 20:18 ` Alon Bar-Lev
2016-07-10 20:52 ` Alon Bar-Lev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bca18fc7-d8cf-2d4f-6390-04813ab34d53@greensocs.com \
--to=fred.konrad@greensocs.com \
--cc=Qemu-devel@nongnu.org \
--cc=alon.barlev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).