From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22786 invoked by alias); 27 Apr 2010 01:56:07 -0000 Received: (qmail 22698 invoked by uid 22791); 27 Apr 2010 01:56:06 -0000 X-SWARE-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Apr 2010 01:56:01 +0000 Received: by pvg12 with SMTP id 12so159719pvg.0 for ; Mon, 26 Apr 2010 18:56:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.115.65.14 with SMTP id s14mr5665496wak.209.1272333360197; Mon, 26 Apr 2010 18:56:00 -0700 (PDT) Received: by 10.114.199.17 with HTTP; Mon, 26 Apr 2010 18:56:00 -0700 (PDT) Date: Tue, 27 Apr 2010 01:56:00 -0000 Message-ID: Subject: How to stop gdbserver while it's listening From: robert song To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00151.txt.bz2 Hello,everyone. 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? Thank you very much. Regards, robert