From: sami wagiaalla <swagiaal@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: Regression gdb.cp/temargs.exp: test value of P in inner_m [Re: [patch] Defer symbol addition until construction is complete]
Date: Fri, 20 Aug 2010 20:21:00 -0000 [thread overview]
Message-ID: <4C6EE3B4.1090906@redhat.com> (raw)
In-Reply-To: <4C616374.7080700@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
>> -PASS: gdb.cp/temargs.exp: test value of P in inner_m
>> +FAIL: gdb.cp/temargs.exp: test value of P in inner_m
>> :
>
> Okay let me take a look. Thanks for letting me know.
>
Apologies it took so long to get back to this I had some difficulty
setting up the environment.
The original patch:
http://sourceware.org/ml/gdb-cvs/2010-08/msg00040.html
3b26cb4b133031280fa022e2a06e58f333ed5e8d
suppressed one too many regressions. Specifically (if you look at
3b26cb4b133^) the regression on line 10185 when the tag is
DW_TAG_template_value_param and DW_AT_location != NULL.
Patch attached.
[-- Attachment #2: regression.patch --]
[-- Type: text/x-patch, Size: 548 bytes --]
Fix defer add regression.
2010-08-20 Sami Wagiaalla <swagiaal@redhat.com>
* dwarf2read.c (new_symbol_full): Do not set list_to_add to NULL
if suppress_add == 1.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 78491c8..cd1c084 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -10330,7 +10330,6 @@ new_symbol_full (struct die_info *die, struct type *type, struct dwarf2_cu *cu,
{
sym->hash_next = objfile->template_symbols;
objfile->template_symbols = sym;
- list_to_add = NULL;
}
if (list_to_add != NULL)
next prev parent reply other threads:[~2010-08-20 20:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 15:28 [patch] Defer symbol addition until construction is complete sami wagiaalla
2010-07-29 20:58 ` Tom Tromey
2010-08-09 18:38 ` sami wagiaalla
2010-08-09 19:55 ` Tom Tromey
2010-08-10 7:44 ` Regression gdb.cp/temargs.exp: test value of P in inner_m [Re: [patch] Defer symbol addition until construction is complete] Jan Kratochvil
2010-08-10 14:34 ` sami wagiaalla
2010-08-20 20:21 ` sami wagiaalla [this message]
2010-08-20 21:54 ` Tom Tromey
2010-08-31 15:18 ` sami wagiaalla
2010-08-31 18:37 ` 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=4C6EE3B4.1090906@redhat.com \
--to=swagiaal@redhat.com \
--cc=gdb-patches@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).