From: Sergio Durigan Junior <sergiodj@redhat.com>
To: gdb@sourceware.org
Cc: robert song <robertsong.japan@gmail.com>
Subject: Re: How to stop gdbserver while it's listening
Date: Thu, 29 Apr 2010 18:51:00 -0000 [thread overview]
Message-ID: <201004291550.57916.sergiodj@redhat.com> (raw)
In-Reply-To: <h2qed9154201004261856w7cf595cdod4d0e06c682eb84@mail.gmail.com>
On Monday 26 April 2010 22:56:00, robert song wrote:
> During the gdbserver is listening on one TCP port, I can't stop by
> directly press Ctrl-C.
> But only open another windows and kill this one.
>
> target> gdbserver :5555 /tmp/helloworld
> target> kill -9 `pgrep gdbserver`
>
> Is it the only way to stop the gdbserver?
Hi Robert,
Others can correct me if I'm wrong, but this is the only way of killing
gdbserver when you are on the target board. Sometimes you just can't open a
new terminal, though. In this case, you can also connect to gdbserver from
another machine and issue a `monitor exit' command.
--
Sergio
next prev parent reply other threads:[~2010-04-29 18:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 1:56 robert song
2010-04-29 18:51 ` Sergio Durigan Junior [this message]
2010-04-29 21:03 ` robert song
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=201004291550.57916.sergiodj@redhat.com \
--to=sergiodj@redhat.com \
--cc=gdb@sourceware.org \
--cc=robertsong.japan@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