From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3144 invoked by alias); 14 Jul 2008 16:21:14 -0000 Received: (qmail 3134 invoked by uid 22791); 14 Jul 2008 16:21:13 -0000 X-Spam-Check-By: sourceware.org Received: from vms046pub.verizon.net (HELO vms046pub.verizon.net) (206.46.252.46) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Jul 2008 16:20:53 +0000 Received: from black ([71.245.67.80]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K4000NC182M4PD0@vms046.mailsrvcs.net> for gdb@sources.redhat.com; Mon, 14 Jul 2008 11:20:47 -0500 (CDT) Received: from bob by black with local (Exim 4.69) (envelope-from ) id 1KIQn8-0003nC-Ai; Mon, 14 Jul 2008 12:20:46 -0400 Date: Mon, 14 Jul 2008 16:21:00 -0000 From: Bob Rossi Subject: Re: Move GDB to C++ ? In-reply-to: <487B7C26.1040207@adacore.com> To: Robert Dewar Cc: Vladimir Prus , gdb@sources.redhat.com Mail-followup-to: Robert Dewar , Vladimir Prus , gdb@sources.redhat.com Message-id: <20080714162045.GA3550@brasko.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline References: <487658F7.1090508@earthlink.net> <487B52D8.1020802@adacore.com> <200807141953.31008.vladimir@codesourcery.com> <20080714161228.GA3833@caradoc.them.org> <487B7C26.1040207@adacore.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) 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/msg00162.txt.bz2 On Mon, Jul 14, 2008 at 12:17:42PM -0400, Robert Dewar wrote: > Daniel Jacobowitz wrote: > >> Consider requiring the C++ runtime, then... this would be a problem >> for CodeSourcery in the same way that it would be for AdaCore. >> Solvable in both cases, and I have no qualms about solving it, but it >> will be some work. > > And of course CodeSourcery does have some experience with g++ :-) > so it is instructive that even there it would be some work to make > the transition, of course as Daniel says, this can certainly be done, > but I think it is important to understand all the costs in such a > transition. Just think about mingw. I wasn't able to get dwarf2 working, I had to rever back to stabs to debug a C++ program. Cygwin is still using a version of 3.4.5. There are platforms that will require a significant amount of work, to port gdb nicely too. Just some thoughts. Bob Rossi