From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31852 invoked by alias); 2 Nov 2007 20:30:20 -0000 Received: (qmail 31843 invoked by uid 22791); 2 Nov 2007 20:30:19 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-scoter.atl.sa.earthlink.net (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 Nov 2007 20:30:17 +0000 Received: from [70.170.98.6] (helo=macbook-3.local) by elasmtp-scoter.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1Io39h-0006fm-9P; Fri, 02 Nov 2007 16:30:13 -0400 Message-ID: <472B88CE.2010004@earthlink.net> Date: Fri, 02 Nov 2007 20:30:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Matthew Hall CC: gdb@sourceware.org Subject: Re: libgdb References: <79b61a440711020945y21ac07ei825b9c3e7ee1cc39@mail.gmail.com> In-Reply-To: <79b61a440711020945y21ac07ei825b9c3e7ee1cc39@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: ae6f8838ff913eba0cc1426638a40ef67e972de0d01da9406095b3e7ef0aaa5204e9d99e9488c03f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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-11/txt/msg00019.txt.bz2 Matthew Hall wrote: > I've seen references to a libgdb project. > An idea left over from ancient days, never got off the ground. The theory was that one could link it into both the traditional command-line frontend and into various GUIs. Lots of technical difficulties, two chief ones being that 1) it would have had to be a very "wide" API in order to be sufficient to cover all of GDB functionality, and 2) the library would have to be able to hand control back to the UI on demand, difficult when inferior control uses blocking system calls. In practice, it seems to work well enough to have the GUI be a separate program that communicates with GDB, whether via command line or MI (machine interface) syntax, and there is some advantage to the "firewalling" inherent in a two-program scheme, so there's not much motivation to do a libgdb anymore. Stan