Patch to fix PR9861
Andrew Haley
aph@redhat.com
Mon Sep 26 18:02:00 GMT 2005
I tried your patch, and while it correctly demangles, it doesn't allow
me to put a breakpoint on 'f.main(java.lang.String[])' However,
putting a breakpoint on 'void f.main(java.lang.String[])' does work,
as you might expect.
This has the rather nasty effect of breaking tab completion in gdb.
For example, you can't type "break 'f<tab>" and get a nice list of the
methods in f to choose from.
It ought to be possible to fix this in gdb, though. I'll investigate
some more.
Andrew.
More information about the Gcc-patches
mailing list