GDB dollar symbol and single quotes

Marco Menegazzi menegazzi.marco@gmail.com
Tue Jun 1 09:09:00 GMT 2010


Hi,
in my program I have to set a breakpoint on a function that contains the dollar symbol '$'.
If i set the breakpoint before the run command gdb reply with 

>(gdb) b 'TeenyLimeM$TupleSpace$out'
>Breakpoint 1 at 0x805c2c3: file ../../../tl/system/TeenyLimeM.nc, line 219.

but once I give the RUN command,  it replies me : 

>Error in re-setting breakpoint 1: Function "TeenyLimeM" not defined.

as it can't recognize the $

Instead if I first use the RUN command and after that I set the breakpoint it correctly works. 

Any ideas?



More information about the Gdb mailing list