From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2067 invoked by alias); 2 Oct 2009 22:00:19 -0000 Received: (qmail 2059 invoked by uid 22791); 2 Oct 2009 22:00:18 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Oct 2009 22:00:14 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n92Lxowv028310; Fri, 2 Oct 2009 17:59:51 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n92LxmkR028982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Oct 2009 17:59:50 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n92LxlTn007289; Fri, 2 Oct 2009 23:59:48 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id n92Lxkr0007284; Fri, 2 Oct 2009 23:59:46 +0200 Date: Fri, 02 Oct 2009 22:00:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Mark Kettenis , brobecker@adacore.com, ralf.corsepius@rtems.org, gdb@sourceware.org Subject: Re: GDB 6.8.92 available for testing Message-ID: <20091002215946.GA6390@host0.dyn.jankratochvil.net> References: <20091001170744.GC6532@adacore.com> <4AC4E4F6.5080500@rtems.org> <4AC630C8.5090508@rtems.org> <200910021804.n92I47I7008266@brahms.sibelius.xs4all.nl> <20091002181447.GS6532@adacore.com> <200910021823.n92INVuX003644@brahms.sibelius.xs4all.nl> <20091002183756.GA23588@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00055.txt.bz2 On Fri, 02 Oct 2009 23:45:33 +0200, Tom Tromey wrote: > This is ok to put on the archer task list, if you want to put it there. Done. > Jan> There exist >2GB debuginfos: > Jan> http://cvs.fedora.redhat.com/viewvc/rpms/gdb/devel/gdb-6.3-bz231832-obstack-2gb.patch?view=co > > I didn't like this patch when I first saw it, but maybe I was misreading > it. On first read it looked like it didn't fully update obstacks. The obstacks patch should go first to glibc but it never made it there, it still should be pushed. http://sourceware.org/ml/libc-alpha/2007-01/msg00090.html > I wonder how important this is now that we mmap the debuginfo. Still the generated indexes can get large. > Do we have a test case for it? As it is very expensive to run it was just made for one-shot manual run. Regards, Jan --- /dev/null 2009-09-27 23:35:12.323860784 +0200 +++ Makefile 2007-03-12 14:00:43.000000000 +0100 @@ -0,0 +1,19 @@ +SYMNUM = $$[0x880000] +SYMLEN = $$[0x100] +CFLAGS = -ggdb3 -Wall + +all: main + +macro.h: gen Makefile + ./$< $(SYMNUM) $(SYMLEN) >$@ + +library.so: library.c + $(LINK.c) $< $(LOADLIBES) $(LDLIBS) -o $@ -shared -fPIC + +main: main.c macro.h library.so + $(LINK.c) $< $(LOADLIBES) $(LDLIBS) -o $@ library.so -Wl,-rpath,. + +.PHONY: clean +clean: + $(RM) main gen macro.h library.so + --- /dev/null 2009-09-27 23:35:12.323860784 +0200 +++ gen.c 2007-01-21 02:27:08.000000000 +0100 @@ -0,0 +1,23 @@ +#include +#include + + +int main (int argc, char **argv) +{ + int symnum, symlen; + int symi, symj; + + symnum = atoi (argv[1]); + symlen = atoi (argv[2]); + + for (symi = 0; symi < symnum; symi++) + { + printf ("#define MACRO%d ", symi); + for (symj = 1; symj <= symlen; symj++) + putchar ('0' + symj % 10); + putchar ('\n'); + } + puts ("/* EOF */"); + + return 0; +} --- /dev/null 2009-09-27 23:35:12.323860784 +0200 +++ library.c 2007-03-11 16:25:00.000000000 +0100 @@ -0,0 +1,6 @@ +#include "macro.h" + + +void libfunc (void) +{ +} --- /dev/null 2009-09-27 23:35:12.323860784 +0200 +++ main.c 2007-03-11 16:24:57.000000000 +0100 @@ -0,0 +1,7 @@ +extern void libfunc (void); + +int main (void) +{ + libfunc (); + return 0; +}