From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22659 invoked by alias); 28 Nov 2001 18:41:48 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22620 invoked from network); 28 Nov 2001 18:41:45 -0000 Received: from unknown (HELO venus.wolf.it) (151.38.200.182) by hostedprojects.ges.redhat.com with SMTP; 28 Nov 2001 18:41:45 -0000 Received: by venus.wolf.it (Postfix, from userid 1000) id C404A8FBD; Wed, 28 Nov 2001 19:41:40 +0100 (CET) Date: Wed, 21 Nov 2001 12:33:00 -0000 From: Paolo Molaro To: gdb@sources.redhat.com Subject: large line number debugging support Message-ID: <20011128194140.F22089@lettere.unipd.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-SW-Source: 2001-11/txt/msg00210.txt.bz2 Hi. I just added support to output stab information in the mono JIT compiler: this debugging info is used to debug code generation problems and as such the lines in the source code it references are from an assembly dump of the CLR programs. For large libraries the assembly files can be longer than 2^16 lines and the binary stabs format seems to use 16 bits unsigned integers to store line info. Is there some kind of know workaround for this problem? Splitting the assembly dump would be extremely ugly. A somewhat related problem is symbol file info removal: it's possible to add a symbol file at runtime inside gdb, but I haven't found a way to unload it once I need to restart the program (and I need to restart gdb as well). I'm not on the list, so please, Cc me on any replies. Thanks. lupus -- ----------------------------------------------------------------- lupus@debian.org debian/rules lupus@ximian.com Monkeys do it better From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Molaro To: gdb@sources.redhat.com Subject: large line number debugging support Date: Wed, 28 Nov 2001 10:41:00 -0000 Message-ID: <20011128194140.F22089@lettere.unipd.it> X-SW-Source: 2001-11/msg00317.html Message-ID: <20011128104100.rdIZ5o18WZPMJYov_lnfifbXU537oiQzFWGHqgILyKo@z> Hi. I just added support to output stab information in the mono JIT compiler: this debugging info is used to debug code generation problems and as such the lines in the source code it references are from an assembly dump of the CLR programs. For large libraries the assembly files can be longer than 2^16 lines and the binary stabs format seems to use 16 bits unsigned integers to store line info. Is there some kind of know workaround for this problem? Splitting the assembly dump would be extremely ugly. A somewhat related problem is symbol file info removal: it's possible to add a symbol file at runtime inside gdb, but I haven't found a way to unload it once I need to restart the program (and I need to restart gdb as well). I'm not on the list, so please, Cc me on any replies. Thanks. lupus -- ----------------------------------------------------------------- lupus@debian.org debian/rules lupus@ximian.com Monkeys do it better