Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>,
	brobecker@adacore.com,         ralf.corsepius@rtems.org,
	gdb@sourceware.org
Subject: Re: GDB 6.8.92 available for testing
Date: Fri, 02 Oct 2009 22:00:00 -0000	[thread overview]
Message-ID: <20091002215946.GA6390@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <m3pr95mpvm.fsf@fleche.redhat.com>

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 <stdio.h>
+#include <stdlib.h>
+
+
+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;
+}


  reply	other threads:[~2009-10-02 22:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30 20:48 Joel Brobecker
2009-10-01  3:17 ` Ralf Corsepius
2009-10-01  8:59   ` Andreas Schwab
2009-10-01  9:35     ` Pierre Muller
2009-10-01  9:42       ` Andreas Schwab
2009-10-01 12:11         ` Ralf Corsepius
2009-10-01 13:10           ` Jan Kratochvil
2009-10-02 15:40             ` Tom Tromey
2009-10-02 17:26               ` Jan Kratochvil
2009-10-01 10:09   ` Jan Kratochvil
2009-10-01 11:20     ` Ralf Corsepius
2009-10-01 18:16       ` Joel Brobecker
2009-10-02  2:46         ` Ralf Corsepius
2009-10-02 15:39     ` Tom Tromey
2009-10-02 17:28       ` Jan Kratochvil
2009-10-01 17:07   ` Joel Brobecker
2009-10-01 17:21     ` Ralf Corsepius
2009-10-01 17:35       ` Mark Kettenis
2009-10-01 18:27         ` Joel Brobecker
2009-10-01 18:37           ` Mark Kettenis
2009-10-01 20:22             ` Eli Zaretskii
2009-10-01 18:40           ` Paul Pluzhnikov
2009-10-01 18:25       ` Joel Brobecker
2009-10-02 15:48       ` Tom Tromey
2009-10-02 16:57         ` Ralf Corsepius
2009-10-02 17:27           ` Tom Tromey
2009-10-02 18:04             ` Mark Kettenis
2009-10-02 18:15               ` Joel Brobecker
2009-10-02 18:24                 ` Mark Kettenis
2009-10-02 18:38                   ` Jan Kratochvil
2009-10-02 21:46                     ` Tom Tromey
2009-10-02 22:00                       ` Jan Kratochvil [this message]
2009-10-02 15:35   ` Tom Tromey
2009-10-01 12:02 ` Pierre Muller
2009-10-01 17:56   ` Joel Brobecker
2009-10-01 21:22     ` [RFA] more fixes to testsuite (was RE: GDB 6.8.92 available for testing) Pierre Muller
2009-10-01 21:28       ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091002215946.GA6390@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=ralf.corsepius@rtems.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox