This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how canonical are template names?


On Fri, 10 Jan 2003 15:33:02 -0800, Stan Shebs <shebs@apple.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]