This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: C++/Java regressions
Daniel Jacobowitz <drow@mvista.com> writes:
> It does make sense, but I see Michael's concern. If you look at the
> complete GDB output in this case, you get roughly:
> Stopped at breakpoint 1, A::bar () for A::bar()
> Stopped at breakpoint 1, A::bar () for A::bar() const
> Stopped at breakpoint 1, A::bar (a = 1) for A::bar(int)
Ah.
> I still think the demangler should return A::bar. If we want GDB's
> output to be unambiguous then GDB is the right place to print the
> const. Without debug info we may not have it... but who really cares?
It's certainly easy for me to do it either way, and I doubt anybody
other than the GDB group really cares, so y'all just tell me what to
do.
Ian