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?


Same here.  A NetBSD system with 128 MB of memory (there is more elsewhere, but not for that OS or for its processes).  Gdbserver is a wonderful tool, making possible debugging that gdb could not possibly do because of its size.  But for that to work it has to remain small.  It's already pushing the limits (300k or so when linked statically).

	paul

-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Joel Brobecker
Sent: Wednesday, April 18, 2012 12:57 PM
To: Pedro Alves
Cc: Joel Sherrill; Jan Kratochvil; Tom Tromey; gdb@sourceware.org
Subject: Re: Will therefore GDB utilize C++ or not?

> > Wading in late .. but is the gdbserver intended to run on an 
> > embedded RTOS with just threads?
> 
> No, it assumes some more unixy-ish OS what spawns processes, though it 
> scales down to Linux with uclibc, bionic, and other userspaces [...]

The point remains valid, though, that GDBserver needs to remain reasonably small. We run LynxOS on boards that occasionally run out of memory, so resource management is a concern...

--
Joel


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