Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: robert song <robertsong.japan@gmail.com>
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: How to stop gdbserver while it's listening
Date: Thu, 29 Apr 2010 21:03:00 -0000	[thread overview]
Message-ID: <v2ued9154201004291403k6203804dvb24e291ee886eeb4@mail.gmail.com> (raw)
In-Reply-To: <201004291550.57916.sergiodj@redhat.com>

Hi, Sergio, thank you very much for your reply.

> 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.

I can't find a 'monitor exit' command in my gdb 6.6.
But I found "detach" can do the work.

`detach'
     When you have finished debugging the remote program, you can use
     the `detach' command to release it from GDB control.  Detaching
     from the target normally resumes its execution, but the results
     will depend on your particular remote stub.  After the `detach'
     command, GDB is free to connect to another target.

Regards,
  robert


      reply	other threads:[~2010-04-29 21:03 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
2010-04-29 21:03   ` robert song [this message]

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=v2ued9154201004291403k6203804dvb24e291ee886eeb4@mail.gmail.com \
    --to=robertsong.japan@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=sergiodj@redhat.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