This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Will therefore GDB utilize C++ or not?


On Mon, 21 May 2012 18:52:09 +0200, Pedro Alves wrote:
> But obviously you won't shrink more than what necessary to run your
> software.

Proposed C++ is not a clear win-win, it is a compromise.  I have found this
discussion gives enough reasons (~from Tom) to consider C++ "very important".

The size has some importance but these mails try to decide whether the size
regressions is globally as important as the C++ benefits for GDB or not.

If the size is important enough then there is also the alternative gdbserver
for bootstraps without C++ (older FSF gdbserver, RDA, #ifdef-out-ed HEAD FSF
gdbserver etc.).  It has also various disadvantages but again I consider them
globally less important than the C++ benefits for GDB.


> Google around for OpenWrt or DD-WRT for example, to find configurations
> where 4-32MB flash is common.

This is not the specific enough answer I was asking for.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]