GDB dollar symbol and single quotes

Tom Tromey tromey@redhat.com
Tue Jun 8 21:09:00 GMT 2010


>>>>> "Marco" == Marco Menegazzi <menegazzi.marco@gmail.com> writes:

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

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

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

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

Marco> as it can't recognize the $

You didn't mention what version of gdb you are using.
If you are using an older one, please try the latest release.
If it still fails with 7.1, please file a bug report.

Tom



More information about the Gdb mailing list