RFA: add C++ alternate punctuators

Tom Tromey tromey@redhat.com
Tue Dec 23 16:36:00 GMT 2008


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> ERROR: can't read "u": no such variable
Jan>     while executing
Jan> "gdb_test "set $u = 0x5a5a" """
Jan>     (file "../.././gdb/testsuite/gdb.cp/punctuator.exp" line 38)
Jan>     invoked from within
Jan> "source ../.././gdb/testsuite/gdb.cp/punctuator.exp"
Jan>     ("uplevel" body line 1)
Jan>     invoked from within
Jan> "uplevel #0 source ../.././gdb/testsuite/gdb.cp/punctuator.exp"
Jan>     invoked from within
Jan> "catch "uplevel #0 source $test_file_name""

Jan> on dejagnu-1.4.4-13.fc10.noarch, I do not understand where it could work.

Me neither!  WTF?  I ran this many times and didn't see it.

But, of course, I do see it now.  How embarrassing.

Jan> 	* gdb.cp/punctuator.exp: Backslash the '$' signs.

IMO this ought to qualify under the obvious rule.

Tom



More information about the Gdb-patches mailing list