From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19513 invoked by alias); 11 Jan 2002 13:13:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19444 invoked from network); 11 Jan 2002 13:13:06 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by sources.redhat.com with SMTP; 11 Jan 2002 13:13:06 -0000 Received: (from mec@localhost) by duracef.shout.net (8.8.7/8.8.7) id HAA32674; Fri, 11 Jan 2002 07:13:02 -0600 Date: Fri, 11 Jan 2002 05:13:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200201111313.HAA32674@duracef.shout.net> To: drow@mvista.com Subject: Re: [RFC] const qualifiers in gdb.c++/method.exp Cc: fnf@redhat.com, gdb-patches@sources.redhat.com X-SW-Source: 2002-01/txt/msg00285.txt.bz2 Daniel Jacobowitz wrote: > Mind trying again? I think Fred fixed these - or someone else did... Okay, here's some fresh test results. The type of "print this" in a const method is: "A *" native i686-pc-linux-gnu, gdb HEAD, gcc 2.95.3, -gstabs+ native i686-pc-linux-gnu, gdb HEAD, gcc 3.0.2, -gstabs+ native i686-pc-linux-gnu, gdb HEAD, gcc HEAD, -gstabs+ native i686-pc-linux-gnu, gdb HEAD, gcc gcc-3_0-branch, -gstabs+ "const A * const" native i686-pc-linux-gnu, gdb HEAD, gcc 2.95.3, -gdwarf-2 native i686-pc-linux-gnu, gdb HEAD, gcc 3.0.2, -gdwarf-2 native i686-pc-linux-gnu, gdb HEAD, gcc HEAD, -gdwarf-2 native i686-pc-linux-gnu, gdb HEAD, gcc gcc-3_0-branch, -gdwarf-2 This is an improvement from 2001-12-22, when dwarf-2 + v3 compiler resulted in "A * const". So over in Fred Fish's patch, I'd like to see fragment #2 look something like this: get_debug_format setup_xfail_format stabs ... -re "\\$\[0-9\]* = \\(const A \\*( const)?\\) $hex\r\n$gdb_prompt $" { I'd like the first const to be mandatory, with an xfail for stabs. (My paperwork is almost done, and then I can commit my own patches as well as approve other people's). Michael C