From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1158 invoked by alias); 31 Jul 2008 09:29:46 -0000 Received: (qmail 1149 invoked by uid 22791); 31 Jul 2008 09:29:45 -0000 X-Spam-Check-By: sourceware.org Received: from konig.cs.elte.hu (HELO konig.cs.elte.hu) (157.181.226.9) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 Jul 2008 09:29:26 +0000 Received: from lime.cs.elte.hu ([157.181.227.196] helo=[127.0.0.1]) by konig.cs.elte.hu with esmtp (Exim 4.54) id 1KOUTK-00038x-5G; Thu, 31 Jul 2008 11:29:23 +0200 Subject: Re: Move GDB to C++ ? From: =?ISO-8859-1?Q?Alp=E1r_J=FCttner?= To: =?ISO-8859-1?Q?Andr=E9_P=F6nitz?= Cc: gdb@sourceware.org In-Reply-To: <200807311042.41954.apoenitz@trolltech.com> References: <487658F7.1090508@earthlink.net> <4890B6BB.7010603@earthlink.net> <200807301942.m6UJgH6s005159@brahms.sibelius.xs4all.nl> <200807311042.41954.apoenitz@trolltech.com> Content-Type: text/plain Date: Thu, 31 Jul 2008 09:33:00 -0000 Message-Id: <1217496572.4594.7.camel@piko.site> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit X-CS-Spam-Score: -4.4 (----) X-CS-Spam-Report: score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 pts rule name description ---- ---------------------- ------------------------------------ -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 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/msg00346.txt.bz2 Hi, > > Pushing compile time through the roof and gobbling up several hundred > > of megabytes of memory. Will it still be possible to compile a native > > GDB on an underpowered ARM CPU with 64MB of memory? > > Yes. Or no. Gcc can be very memory hungry when compiling C++, a memory consumption of 400MB is not unusual even for relatively short code snippets, thus it can be a problem indeed. Probably this happens only when heavy template programming is used, which may not be the case for gdb (except the use of STL, which is a template library). Anyway, some experiment should be made here. Regards, Alpar