From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3734 invoked by alias); 18 Apr 2002 12:30:46 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 3712 invoked from network); 18 Apr 2002 12:30:39 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 18 Apr 2002 12:30:39 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CBF673D0C for ; Thu, 18 Apr 2002 08:30:47 -0400 (EDT) Message-ID: <3CBEBC77.6090205@cygnus.com> Date: Thu, 18 Apr 2002 05:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sid@sources.redhat.com Subject: (gdb) target remote |foo-elf-sid --stdio Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q2/txt/msg00006.txt.bz2 Hello, GDB's remote command supports a pipe mode (it's supported it for some years now). It lets GDB communicate with a sub-process using the remote protocol via that processes stdin/stdout. The command syntax is: (gdb) target remote |command to run with arguments Can SID be modified to support this mode? It is easier to script then the current: start sid; start gdb; connect. enjoy, Andrew (PS: As always, there could be teething problems in GDB)