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: A lean/small GDB ?


Donny Kurniawan wrote:

> Hello,
> 
> I think I need to re-think my approach to my scalability problem (i.e.
> debugging 1000 processes).... by solving it from a different angle.
> 
> I am thinking to reduce GDB (either through configure or removing some
> code, e.g. readline) so that it can be as lean/small as possible while
> retaining essential debug functionalities. Hopefully, the small size can
> help in the scalability.
> 
> I am thinking to remove the UI and make GDB like "libGDB" by putting
> API-like interface.

Isn't most of memory consumption of gdb due to large amount of debug info
that gcc helpfully puts into binaries? I doubt the problem is in code size
of gdb itself.

- Volodya


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