From: Pedro Alves <pedro@codesourcery.com>
To: "dpc@ucore.info" <dpc@ucore.info>
Cc: gdb@sourceware.org, Mike Frysinger <vapier@gentoo.org>
Subject: Re: gdb + remote qemu, Ctrl-C does not work
Date: Wed, 02 Mar 2011 12:49:00 -0000 [thread overview]
Message-ID: <201103021249.34558.pedro@codesourcery.com> (raw)
In-Reply-To: <AANLkTi=1y6RLZakkA3A=xTnqWNKhCg2s7Ka9nzLsjQE-@mail.gmail.com>
On Wednesday 02 March 2011 12:29:40, dpc@ucore.info wrote:
> On Wed, Mar 2, 2011 at 10:45 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> > Do you have qemu running on the same terminal as gdb?
>
> Well yes, I guess. I'm running it in the same script like this:
>
> qemu someoptions &
> sleep 1
> gdb -x somefile
Your ctrl-c is reaching qemu as well, which is making it
commit suicide. Notice on your OP:
Continuing.
^CRemote communication error. Target disconnected.: Connection reset by peer.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This not a GDB problem.
I'd run qemu through a pipe ("target remote | qemu") instead
of using tcp.
--
Pedro Alves
next prev parent reply other threads:[~2011-03-02 12:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTimvhnQs_4gTkaU_xfgjnm0G=Qkm-ZdzVYJ9nmfK@mail.gmail.com>
2011-03-01 14:48 ` dpc
2011-03-01 18:35 ` Mike Frysinger
2011-03-01 22:52 ` dpc
2011-03-01 23:50 ` Mike Frysinger
2011-03-02 7:29 ` dpc
2011-03-02 9:45 ` Pedro Alves
2011-03-02 12:29 ` dpc
2011-03-02 12:49 ` Pedro Alves [this message]
2011-03-02 13:07 ` Tristan Gingold
2011-03-02 14:17 ` Pedro Alves
2011-03-02 14:24 ` Tristan Gingold
2011-03-02 14:26 ` dpc
2011-03-02 15:04 ` Joel Brobecker
2011-03-02 16:12 ` Andreas Schwab
2011-03-02 10:12 ` Andreas Schwab
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=201103021249.34558.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=dpc@ucore.info \
--cc=gdb@sourceware.org \
--cc=vapier@gentoo.org \
/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