public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: sami wagiaalla <swagiaal@redhat.com>
Cc: gdb-patches@sourceware.org, Tom Tromey <tromey@redhat.com>
Subject: Regression gdb.cp/temargs.exp: test value of P in inner_m  [Re: [patch] Defer symbol addition until construction is complete]
Date: Tue, 10 Aug 2010 07:44:00 -0000	[thread overview]
Message-ID: <20100810074402.GA19162@host1.dyn.jankratochvil.net> (raw)
In-Reply-To: <4C604B22.4060904@redhat.com>

On Mon, 09 Aug 2010 20:38:26 +0200, sami wagiaalla wrote:
> Complete symbol construction before adding to pending list.
> 
> 2010-08-09  Sami Wagiaalla  <swagiaal@redhat.com>
> 
> 	* dwarf2read.c (new_symbol): Add symbol to variable list at end of
> 	function after symbol construction is complete.
> 	Do the same for template symbol addition to template_symbols list.

checked-in as:
http://sourceware.org/ml/gdb-cvs/2010-08/msg00040.html
3b26cb4b133031280fa022e2a06e58f333ed5e8d

> Is this cool ?

This patch has a cold regression. :-)

-PASS: gdb.cp/temargs.exp: test value of P in inner_m
+FAIL: gdb.cp/temargs.exp: test value of P in inner_m
:
print P == &a_global
$4 = true
(gdb) PASS: gdb.cp/temargs.exp: test value of P in inner_m
->
print P == &a_global
No symbol "P" in current context.
(gdb) FAIL: gdb.cp/temargs.exp: test value of P in inner_m

It affects {x86_64,x86_64-m32,i686}-fedora14snapshot-linux-gnu.
It does not affect {x86_64,x86_64-m32,i686}-fedora13-linux-gnu.

PASS->FAIL gcc-4.5.0-3.fc14.{x86_64,i686}
XFAIL      gcc-4.4.4-10.fc13.{x86_64,i686}
PASS->FAIL GNU C++ 4.6.0 20100810 (experimental)
PASS->FAIL GNU C++ 4.5.2 20100810 (prerelease)
XFAIL      GNU C++ 4.4.5 20100810 (prerelease)

XFAIL is:
print P == &a_global
No symbol "P" in current context.
(gdb) XFAIL: gdb.cp/temargs.exp: test value of P in inner_m


Thanks,
Jan

  parent reply	other threads:[~2010-08-10  7:44 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     ` Jan Kratochvil [this message]
2010-08-10 14:34       ` Regression gdb.cp/temargs.exp: test value of P in inner_m [Re: [patch] Defer symbol addition until construction is complete] sami wagiaalla
2010-08-20 20:21         ` sami wagiaalla
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=20100810074402.GA19162@host1.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=swagiaal@redhat.com \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).