From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19004 invoked by alias); 20 Jan 2011 09:25:36 -0000 Received: (qmail 18992 invoked by uid 22791); 20 Jan 2011 09:25:35 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Received: from 212.199.10.23.static.012.net.il (HELO plris.com) (212.199.10.23) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Jan 2011 09:25:31 +0000 Received: by plris.com (Postfix, from userid 517) id 68CB6A839B; Thu, 20 Jan 2011 11:25:29 +0200 (IST) Received: from leonp.plris.com (unknown [192.168.50.57]) by plris.com (Postfix) with ESMTP id B913EA8336 for ; Thu, 20 Jan 2011 11:25:28 +0200 (IST) From: Leon Pollak To: gdb@sourceware.org Subject: Restarting gdbserver Date: Thu, 20 Jan 2011 09:25:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.34.7-66.fc13.x86_64; KDE/4.5.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201101201129.50875.leonp@plris.com> 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: 2011-01/txt/msg00080.txt.bz2 Hello, all. I searched Google and mail list for hours - very strange, but found nothing...:-( I debug remotely gdb <-> gdbserver - totally standard situation...:-) The target's root FS is NFS on my PC. To start one debug session I go to the target (via telnet) and start the gdbserver manually, then in my IDE start the gdb session. When a change is required, I exit the gdb, this kills the gdbserver, make a change, recompile, go to telnet, restart gdbserver, connect in IDE, etc. Very annoying.... I tried to automate the gdbserver restart process by running script which loops it, but this is not very reliable, as this means that I am allowed to exit the gdb only AFTER I have recompiled the application. Otherwise, gdbserver takes the old executable. All this seems to be VERY standard situation which should be solved for years, but how...:-( Sorry to ask something so primitive. Thanks a lot ahead. -- Leon