From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Received: (qmail 13876 invoked from network); 11 Jan 2003 00:59:28 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by 209.249.29.67 with SMTP; 11 Jan 2003 00:59:28 -0000 Received: (from mec@localhost) by duracef.shout.net (8.11.6/8.11.6) id h0B0xE531597; Fri, 10 Jan 2003 18:59:14 -0600 Date: Sat, 11 Jan 2003 00:59:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200301110059.h0B0xE531597@duracef.shout.net> To: carlton@math.stanford.edu, gdb@sources.redhat.com Subject: Re: how canonical are template names? Cc: drow@mvista.com X-SW-Source: 2003-01/txt/msg00189.txt.bz2 David C writes: > When I tested the patch, I saw some regressions in > gdb.c++/templates.exp. But, on looking at the situation further, I'm > not sure that they qualify as regressions. templates.exp has issues. :( I'm working on a rewrite but it's on the back burner right now. You'll have to hand-analyze the results, which I see you've done. In fact, I'd like to just write a brand new templates test file, include all the useful testing from the old one, and then strangle the old one. > Here, the new output switches the 'char' and 'volatile'. It's still > the same type. GDB is okay here. > type = class Baz { GDB is incorrect here. sz is of type 'char' so it should be printed like that. * Current: > type = class Qux { This is probably a judgement call. My opinion is that it's legal for gdb to emit this. It's annoying but we have much worse problems to fix, so just eat it and go on to the other 570 open PR's. I would like to accept the parens for another 3-5 years, and we can revisit them once gcc 2 is no longer supported, stabs is dead, and so on. I would file a PR about the '115' that should be a character 's' and let the others go. My two cents. Michael C