From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: sami wagiaalla <swagiaal@redhat.com>, gdb-patches@sourceware.org
Subject: Re: Regression for gdb.stabs/gdb11479.exp [Re: [patch 1/2] Use custom hash function with bcache]
Date: Wed, 01 Sep 2010 16:20:00 -0000 [thread overview]
Message-ID: <20100901161952.GX2986@adacore.com> (raw)
In-Reply-To: <20100901082539.GA24609@host1.dyn.jankratochvil.net>
> > 2010-08-25 Sami Wagiaalla <swagiaal@redhat.com>
> >
> > * psymtab.c (add_psymbol_to_bcache): Remove 'static' from
> > 'static partial_symbol psymbol'.
> > (psymbol_hash): New function.
> > (psymbol_compare): New function.
> > * bcache.c (hash_continue): New.
> > (hash): Use hash_continue.
> > * bcache.c: Add hash_function and compare_function
> > pointers to bcache struct.
> > (bcache_full): Use bcache->hash_function, and
> > bcache->compare_function.
> > (bcache_compare): New function.
> > (bcache_xmalloc): Take hash_function and
> > compare_function arguments and initialize the
> > bcach's pointers.
> > Updated comment.
> > * objfiles.c (allocate_objfile): Updated.
> > * symfile.c (reread_symbols): Updated.
>
> fb846e72510040325bffd8f755180ea0025108dc
> http://sourceware.org/ml/gdb-cvs/2010-08/msg00197.html
>
> It has a regression for gdb.stabs/gdb11479.exp on all the tested distros
> {x86_64,x86_64-m32,i686}-fedora{12,13,14snapshot}-linux-gnu even without
> -lmcheck.
Just so we don't duplicate efforts, I've have been looking into this.
I'm not completely done, yet, but I've found something suspicious.
For me, it causes a crash in gdb.ada/complete.exp:
(gdb) b 7
Breakpoint 1 at 0x401f96: file /[...]/foo.adb, line 7.
(gdb) run
Starting program: /[...]/foo
Breakpoint 1, foo () at /[...]/foo.adb:7
7 My_Global_Variable := Some_Local_Variable + 1; -- START
(gdb) complete p my_glob
[1] 22302 segmentation fault ../../../gdb foo
--
Joel
next prev parent reply other threads:[~2010-09-01 16:20 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 14:11 [RFC] Use custom hash function with bcache sami wagiaalla
2010-08-16 18:29 ` Doug Evans
2010-08-16 18:56 ` Doug Evans
2010-08-16 19:56 ` sami wagiaalla
2010-08-19 16:32 ` [patch 1/2] Use custom hash function with bcache [Re: [RFC] Use custom hash function with bcache] sami wagiaalla
2010-08-19 20:26 ` Tom Tromey
2010-08-25 18:30 ` sami wagiaalla
2010-08-30 20:53 ` Tom Tromey
2010-09-01 8:25 ` Regression for gdb.stabs/gdb11479.exp [Re: [patch 1/2] " Jan Kratochvil
2010-09-01 16:20 ` Joel Brobecker [this message]
2010-09-01 16:47 ` Joel Brobecker
2010-09-01 17:03 ` sami wagiaalla
2010-09-01 17:17 ` Joel Brobecker
2010-09-01 18:09 ` sami wagiaalla
2010-09-01 18:19 ` Jan Kratochvil
2010-09-01 18:24 ` Doug Evans
2010-09-01 18:38 ` Tom Tromey
2010-09-01 19:01 ` sami wagiaalla
2010-09-01 19:15 ` Doug Evans
2010-09-01 19:17 ` Doug Evans
2010-09-01 19:59 ` sami wagiaalla
2010-09-01 23:16 ` Doug Evans
2010-09-01 23:11 ` Doug Evans
2010-09-01 23:19 ` Doug Evans
2010-09-01 23:19 ` Doug Evans
2010-09-02 15:43 ` sami wagiaalla
2010-09-02 20:25 ` Doug Evans
2010-09-03 15:59 ` Doug Evans
2010-09-04 14:29 ` sami wagiaalla
2010-09-06 9:46 ` Daniel Jacobowitz
2010-08-16 19:14 ` [RFC] Use custom hash function with bcache Daniel Jacobowitz
2010-08-16 19:50 ` sami wagiaalla
2010-08-16 20:04 ` Daniel Jacobowitz
2010-08-16 20:11 ` sami wagiaalla
2010-08-16 20:49 ` Daniel Jacobowitz
2010-08-17 17:02 ` sami wagiaalla
2010-08-17 17:40 ` Daniel Jacobowitz
2010-08-17 23:26 ` Tom Tromey
2010-08-18 15:13 ` sami wagiaalla
2010-08-18 15:24 ` Tom Tromey
2010-08-19 16:33 ` sami wagiaalla
2010-08-19 16:37 ` [patch 2/2] Use custom hash function with bcache [Re: [RFC] Use custom hash function with bcache] sami wagiaalla
2010-08-19 20:32 ` [RFC] Use custom hash function with bcache Tom Tromey
2010-08-25 18:32 ` [patch 2/2] Use custom hash function with bcache [Re: [RFC] Use custom hash function with bcache] sami wagiaalla
2010-08-30 20:58 ` Tom Tromey
2010-08-30 21:13 ` Tom Tromey
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=20100901161952.GX2986@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=swagiaal@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