This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Remove comments from user_code in gdb_test_multiple
- From: Daniel Jacobowitz <drow at false dot org>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Thu, 27 Mar 2008 11:31:59 -0400
- Subject: Re: [patch] Remove comments from user_code in gdb_test_multiple
- References: <47EBBBFA.4010700@de.ibm.com>
On Thu, Mar 27, 2008 at 04:23:38PM +0100, Markus Deuling wrote:
> Hi,
>
> this patch removes all comments from user_code given to gdb_test_multiple. This allows
> to have comments in code snippets given to gdb_test_multiple like for exmaple proposed
> in this patch:
>
> http://sourceware.org/ml/gdb-patches/2008-03/msg00290.html
>
>
> ChangeLog:
>
> * lib/gdb.exp (gdb_test_multiple): Remove comments from user_code.
>
> Ok ?
Won't this eat quoted # signs in the middle of patterns?
I suggest you move the comment inside the code block where it would be
valid, instead.
--
Daniel Jacobowitz
CodeSourcery