From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23482 invoked by alias); 22 Nov 2005 13:27:39 -0000 Received: (qmail 23475 invoked by uid 22791); 22 Nov 2005 13:27:39 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 Nov 2005 13:27:36 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EeY9N-00019P-3h for gdb@sources.redhat.com; Tue, 22 Nov 2005 14:25:33 +0100 Received: from zigzag.lvk.cs.msu.su ([158.250.17.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Nov 2005 14:25:33 +0100 Received: from ghost by zigzag.lvk.cs.msu.su with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Nov 2005 14:25:33 +0100 To: gdb@sources.redhat.com From: Vladimir Prus Subject: Re: A lean/small GDB ? Date: Tue, 22 Nov 2005 13:27:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.8.2 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00477.txt.bz2 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