From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29148 invoked by alias); 7 Sep 2007 01:17:33 -0000 Received: (qmail 29139 invoked by uid 22791); 7 Sep 2007 01:17:33 -0000 X-Spam-Check-By: sourceware.org Received: from karen.lavabit.com (HELO karen.lavabit.com) (72.249.41.33) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Sep 2007 01:17:27 +0000 Received: from dispatchd.nerdshack.com (julie.lavabit.com [72.249.41.31]) by karen.lavabit.com (Postfix) with SMTP id 61F8BC841D for ; Thu, 6 Sep 2007 20:17:26 -0500 (CDT) Received: from 10.10.10.104 (203.107.142.212) by mail.nerdshack.com with ESMTP Thu, 06 Sep 2007 20:17:26 -0500 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <534370A5-756B-4C87-B21C-329C3BF1E345@nerdshack.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: gdb@sourceware.org From: Brother Josef Subject: Controlling gdb outside the terminal Date: Fri, 07 Sep 2007 01:33:00 -0000 X-Mailer: Apple Mail (2.752.2) 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: 2007-09/txt/msg00063.txt.bz2 I have a small amount of UNIX knowledge but have been using the gdb on the command line and decided it would be possible to make a GUI to debug Pascal under Mac OS X. With my limited knowledge I found that calls to popen and reading the stream would work to with most commands but gdb complains "gdb) Exception condition detected on fd 0 error detected on stdin". gpd runs a seperate process so I think I need to be sending commands to that pid but I just can't figure it out. Could anyone point me to some informations? thanks for your time. Regards, Josef