[commit/testsuite] Move comment out of gdb_expect code

Joel Brobecker brobecker@adacore.com
Fri Jan 8 12:07:00 GMT 2010


This is a change that we have had in our tree for a while.  IIRC,
there are no comments in TCL, just the special '#' command that does
nothing.  So placing it like this in the middle of the gdb_expect
is not kosher.

I actually see that a similar change was made not too long ago:

    2007/10/09  Pierre Muller  <muller@ics.u-strasbg.fr>

        * lib/gdb.exp (gdb_run_cmd): Move comment outside
        of gdb_expect call, to avoid interruption.

gdb/ChangeLog:

        * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
        call, to avoid interruption.

Tested on x86_64-linux. Checked in.

-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Move-comment-out-of-gdb_expect-code.patch
Type: text/x-diff
Size: 908 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20100108/2ed747b0/attachment.bin>


More information about the Gdb-patches mailing list