This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! On Tue, 28 Feb 2012 20:41:37 +0100, Jan Kratochvil <jan.kratochvil@redhat.com> wrote: > On Tue, 28 Feb 2012 20:08:30 +0100, Thomas Schwinge wrote: > > 142db50201b1b1c69ebdc2dcdb1181cde1db3b08 I got the idea of using [concat > > ...] for building gdb_expect_list's third list argument -- it needs to > > expand $main_line, etc. Any better suggestions (I obviously don't have a > > lot of TCL and/or GDB testcase writing experience), or is this > > acceptable? > > I find it OK. Thanks for reviewing this quickly. > Please edit in your patch: > > + "Breakpoint.*at.* file .*$srcfile, line $main_line\." \ > -> > + "Breakpoint.*at.* file .*$srcfile, line $main_line\\." \ > > (as \. is just TCL character . and regex then just gets ., not \.) Makes sense; re-tested and then committed with that change. There are, of course, other similar inaccuracies, such as an unquoted dot after expanding $srcfile in the line that you quoted above, but that's a separate cleanup project. GrÃÃe, Thomas
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |