From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17691 invoked by alias); 14 Jul 2008 00:15:15 -0000 Received: (qmail 17636 invoked by uid 22791); 14 Jul 2008 00:15:12 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Jul 2008 00:14:38 +0000 Received: from kahikatea.snap.net.nz (151.31.255.123.static.snap.net.nz [123.255.31.151]) by viper.snap.net.nz (Postfix) with ESMTP id AD3963DB96C; Mon, 14 Jul 2008 12:14:35 +1200 (NZST) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id B68CC8FC6D; Mon, 14 Jul 2008 12:14:17 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18554.39512.617681.231052@kahikatea.snap.net.nz> Date: Mon, 14 Jul 2008 00:15:00 -0000 To: tromey@redhat.com Cc: Stan Shebs , gdb@sourceware.org Subject: Re: Move GDB to C++ ? In-Reply-To: References: <487658F7.1090508@earthlink.net> X-Mailer: VM 7.19 under Emacs 22.2.50.3 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/msg00149.txt.bz2 > Tom> * Templates are used in at least one place -- vec.h. > > I found another gdb-specific example of this: observers. A given > observer is essentially an instance of a template class. >From my point of view, another benefit of using C++, is presumably that variable objects could be represented as linked lists, rather than use the current vector API which, for reasons I've already given, I think is unsuitable. -- Nick http://www.inet.net.nz/~nickrob