This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: C++/Java regressions
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: drow at mvista dot com, ian at wasabisystems dot com
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 26 Nov 2003 16:43:41 -0500 (EST)
- Subject: Re: C++/Java regressions
ian> Yes, I think it should print A::bar without the const. I have the
ian> patch in my sources, but I haven't checked it in yet.
But what about:
class Foo
{
public:
int method ();
int method () const;
};
If the name comes back as "Foo::method" then we have ambiguity
in gdb's output.
I think the const looks ugly and the code that prints the function
name is also ugly. But I don't wanna print the same name for two
different methods.
Michael C