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 16998 invoked from network); 10 Jan 2003 23:47:44 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by 209.249.29.67 with SMTP; 10 Jan 2003 23:47:44 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h0ANlQk03949; Fri, 10 Jan 2003 15:47:26 -0800 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Stan Shebs Cc: gdb , Daniel Jacobowitz Subject: Re: how canonical are template names? References: <3E1F582E.2040408@apple.com> From: David Carlton Date: Fri, 10 Jan 2003 23:47:00 -0000 In-Reply-To: <3E1F582E.2040408@apple.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-01/txt/msg00187.txt.bz2 On Fri, 10 Jan 2003 15:33:02 -0800, Stan Shebs said: > One goal for all GDB expression and type evaluation is to pass the > cut-n-paste test - the debugger should be able to take anything in > the source code and come up with the same interpretation as the > compiler. Anything less is a quick trip to user hell - manually > expanding macros, trying to guess how to phrase a cast, executing > function bodies line by line because function calls don't work. > Of course, we'll always fall short of the ideal. In the specific > cases you mention, it sounds like some parser smartening is in > order, and all the faults should be PRs. I agree with all of this. David Carlton carlton@math.stanford.edu