Move GDB to C++ ?

Alpár Jüttner
Thu Jul 31 09:33:00 GMT 2008


> > 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.


More information about the Gdb mailing list