From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5441 invoked by alias); 17 Feb 2008 18:10:59 -0000 Received: (qmail 5432 invoked by uid 22791); 17 Feb 2008 18:10:59 -0000 X-Spam-Check-By: sourceware.org Received: from hel.is.scarlet.be (HELO hel.is.scarlet.be) (193.74.71.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 17 Feb 2008 18:10:39 +0000 Received: from [192.168.123.145] (ip-83-134-141-36.dsl.scarlet.be [83.134.141.36]) (authenticated bits=0) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id m1HIAYpD026490; Sun, 17 Feb 2008 19:10:35 +0100 Message-ID: <47B8789E.1010900@gmail.com> Date: Sun, 17 Feb 2008 18:10:00 -0000 From: Geert Vancompernolle User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Insight Foum Subject: Run an external command prior to running the debugger Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: hel 20001; Body=2 Fuz1=2 Fuz2=2 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00030.txt.bz2 Hi, Is it possible to run a command prior to starting the debugger? I would like to do the following: 1. start Insight 2. start gdbserver on the target 3. type "R" to run the software on the debugger. Is step 2 possible from within Insight? In other words: can I extend the Insight command "R" such that it first launches the gdbserver on the target and only then launches the debug session? *Best rgds, -- Geert *