A lean/small GDB ?

Vladimir Prus ghost@cs.msu.su
Tue Nov 22 13:27:00 GMT 2005


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



More information about the Gdb mailing list