This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB dollar symbol and single quotes
- From: Marco Menegazzi <menegazzi dot marco at gmail dot com>
- To: gdb at sourceware dot org
- Date: Tue, 1 Jun 2010 11:09:26 +0200
- Subject: GDB dollar symbol and single quotes
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?