This is the mail archive of the 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: RFC: gdb_test_multiple

On Mon, Jan 06, 2003 at 04:12:34PM -0500, Andrew Cagney wrote:
> >I want to think about this a little more anyway; as Michael mentioned,
> >I don't think it's recursion safe.  I can't fix this syntax due to TCL
> >limitations, so it might become:
> >
> >gdb_test_multiple "break Foo::Bar" "breakpoint on Foo::Bar" \
> >  "Breakpoint at .*\[\r\n\]$gdb_prompt $" { pass $msg } \
> >  "Bang." { kfail "gdb/90211" $msg }
> >
> >Which isn't so bad, after all.  I had some reason not to do it that way
> >but I can't remember what it was, now.  What do you think of this
> >change?
> Which ever.  My concern is with `$_gdb_message'.  Knowing how to use 
> that would have required a deep understanding of what the function 
> gdb_test_multiple{} was doing.  The above at least makes immediate sense 
> to someone with little tcl/tk knowledge (read: average gdb developer :-).

OK.  I'll have an even easier version of this done tomorrow; it has one
truely gruesome TCL hack in it, but that's it.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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