From: Tristan Gingold <gingold@adacore.com>
To: Pedro Alves <pedro@codesourcery.com>, 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 13:07:00 -0000 [thread overview]
Message-ID: <0EA5A1E3-9098-457F-9334-74476345C908@adacore.com> (raw)
In-Reply-To: <201103021249.34558.pedro@codesourcery.com>
On Mar 2, 2011, at 1:49 PM, Pedro Alves wrote:
> 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.
Usually background processes don't get C-c.
> Notice on your OP:
>
> Continuing.
> ^CRemote communication error. Target disconnected.: Connection reset by peer.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IIRC we also had this issue. This was due to the fact that qemu exits before acking the packet.
Tristan.
next prev parent reply other threads:[~2011-03-02 13:07 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
2011-03-02 13:07 ` Tristan Gingold [this message]
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=0EA5A1E3-9098-457F-9334-74476345C908@adacore.com \
--to=gingold@adacore.com \
--cc=dpc@ucore.info \
--cc=gdb@sourceware.org \
--cc=pedro@codesourcery.com \
--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