From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 989 invoked by alias); 21 Jun 2010 13:04:29 -0000 Received: (qmail 940 invoked by uid 22791); 21 Jun 2010 13:04:28 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Jun 2010 13:04:24 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OQgfm-0002iV-JE for gdb@sourceware.org; Mon, 21 Jun 2010 06:04:22 -0700 Message-ID: <28948301.post@talk.nabble.com> Date: Mon, 21 Jun 2010 13:04:00 -0000 From: petrucristescu To: gdb@sourceware.org Subject: Java to gdb MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-06/txt/msg00083.txt.bz2 Hello, I'm trying to interact wtih gdb from a Java application. What I want to do is to create a Java GUI and form that GUI to send commands to gdb. So, instead of writing commands in gdb command line interface I want to interact via software with GDB. I know that is possible because in Eclipse this is implemented. What I tried is to send commands from Java to the pty where the gdb is running. I've tried both with mi and cli but apparently I'm only able to write in the terminal and not execute the commands. Thanks in advance ! Petru -- View this message in context: http://old.nabble.com/Java-to-gdb-tp28948301p28948301.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.