This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix PR9861
On Mon, Sep 26, 2005 at 07:04:22PM +0100, Andrew Haley wrote:
> 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.
It may be hard; I tried doing this for C++ templates once and got
nowhere.
--
Daniel Jacobowitz
CodeSourcery, LLC