From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4849 invoked by alias); 11 Jul 2008 11:44:17 -0000 Received: (qmail 4840 invoked by uid 22791); 11 Jul 2008 11:44:16 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 11 Jul 2008 11:43:57 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 730EA98415 for ; Fri, 11 Jul 2008 11:43:55 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 557CB98376 for ; Fri, 11 Jul 2008 11:43:55 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KHH2Y-0007hh-0t for gdb@sourceware.org; Fri, 11 Jul 2008 07:43:54 -0400 Date: Fri, 11 Jul 2008 11:44:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: Move GDB to C++ ? Message-ID: <20080711114353.GA29593@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <487658F7.1090508@earthlink.net> <48772D22.1050602@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48772D22.1050602@st.com> User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2008-07/txt/msg00111.txt.bz2 On Fri, Jul 11, 2008 at 10:51:30AM +0100, Andrew STUBBS wrote: > A while ago there was some idea of a libgdb that would abstract the > debugger back end from the interface (or I may have totally misunderstood > what the whole thing was about). I haven't heard much about it recently, > and the libgdb that exists seems to be something of a build artefact, > rather than a useful abstraction. If such an idea still exists, what > affect would switching to C++ have on that plan? Would it make it easier? > Or would it just make it incompatible with non-C++ projects? I don't think such an idea still exists. We've sunk our effort into MI instead. Oddly, even though the idea doesn't exist, it has one user that I know of (in the Free Pascal IDE). The way it works is quite terrifying; there's a Pascal interface definition that includes several versions of each of GDB's core types for selected GDB versions. -- Daniel Jacobowitz CodeSourcery