From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25203 invoked by alias); 31 Jan 2013 20:26:23 -0000 Received: (qmail 24752 invoked by uid 48); 31 Jan 2013 20:25:55 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/49090] provide a way to recognize defaulted template parameters Date: Thu, 31 Jan 2013 20:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: tromey at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg02933.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49090 --- Comment #5 from Tom Tromey 2013-01-31 20:25:54 UTC --- (In reply to comment #4) > (In reply to comment #3) > > > Note that we don't currently generate those tags for uninstantiated types. > > I don't think I understand this last comment. > > I mean that if we only see > > K* k; > > we see K, but we don't need to instantiate it because nothing requires it > to be complete, so in the DWARF we only see a declaration, which doesn't have > the parameter tags. This probably isn't an issue in practice, as a definition > will be emitted somewhere, and it will have the parameters. Thanks, I see. I think gdb will do its best under these circumstances.