This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA]: Fix testsuite/gdb.base/break.exp when test compiled with-DPROTOTYPES


It just needs a tweak vis:

- -re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:46\[\r\n\]+46\[\t \]+void marker4.*" {
> - # marker4() is defined at line 46 when compiled with -DPROTOTYPES
-       pass "run until breakpoint set at small function, optimized file"
-    }

and that works just fine. The problem you encountered is just a weird querk of tcl. Since `#' is a command, and not a comment, it can only be used where other commands can be used.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]