From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1263 invoked by alias); 23 Nov 2002 11:59:28 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1255 invoked from network); 23 Nov 2002 11:59:26 -0000 Received: from unknown (HELO maciot.ulpgc.es) (193.145.138.4) by sources.redhat.com with SMTP; 23 Nov 2002 11:59:26 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by maciot.ulpgc.es (Postfix) with SMTP id 26BE16D1F for ; Sat, 23 Nov 2002 11:59:25 +0000 (WET) Received: from serdis.dis.ulpgc.es (serdis.dis.ulpgc.es [193.145.145.17]) by maciot.ulpgc.es (Postfix) with ESMTP id 06F8E61FD for ; Sat, 23 Nov 2002 11:59:25 +0000 (WET) Received: from siglo21.dis.ulpgc.es (IDENT:root@siglo21.dis.ulpgc.es [193.145.145.16]) by serdis.dis.ulpgc.es (8.10.2/8.9.2) with ESMTP id gANC8dd38159 for ; Sat, 23 Nov 2002 12:08:40 GMT Received: (from nobody@localhost) by siglo21.dis.ulpgc.es (8.11.6/8.9.3) id gANCv5306686; Sat, 23 Nov 2002 12:57:05 GMT Date: Sat, 23 Nov 2002 03:59:00 -0000 Message-Id: <200211231257.gANCv5306686@siglo21.dis.ulpgc.es> X-Authentication-Warning: siglo21.dis.ulpgc.es: nobody set sender to a2782@dis.ulpgc.es using -f From: a2782@dis.ulpgc.es To: gdb@sources.redhat.com Reply-To: a2782@dis.ulpgc.es References: <200211231133.gANBXsA06590@siglo21.dis.ulpgc.es> <2950-Sat23Nov2002133546+0200-eliz@is.elta.co.il> In-Reply-To: <2950-Sat23Nov2002133546+0200-eliz@is.elta.co.il> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Subject: Re: Emacs and GDB X-SW-Source: 2002-11/txt/msg00337.txt.bz2 Any idea about how can I do this emacs-style invocation in (Kylix) C++? I want to execute GDB and redirect its input to the output of my program in C++ (in order to send commands to GDB); and its output to the input of my C++ program (in order to parse the information which GDB returns). Thanks to all people who are replying me! > Emacs calls GDB like this: > > gdb -fullname > > where \"\" is whatever you type at \"M-x gdb\"\'s prompt. > > In other words, if you tell Emacs to invoke GDB with \"gdb myprog\", > Emacs invokes \"gdb -fullname myprog\". > > See gud.el in the Emacs distribution for more details, and see the GDB > user manual for the description of the -fullname option. >