Help with gdb testsuite (lib/gdb.exp)
Daniel Jacobowitz
drow@false.org
Wed Sep 21 18:53:00 GMT 2005
On Wed, Sep 21, 2005 at 11:34:50AM -0700, Olatunji Ruwase wrote:
> Hi,
> I hope this is the right medium for my problem, if not I apologise and
> would appreciate if this could be forwarded to the appropriate list.
>
> I recently started playing with the gdb testsuite and ran into a problem
> I traced as far as gdb_test_multiple in lib/gdb.exp. Below is the
> command line and error message in gdb.log.
Is something wrong with your TCL installation maybe? Try this in
tclsh:
set a { a
b
c
d}
regsub -all {\n} ${a} { } b
set a
set b
It should show you $b without newlines.
> dejagnu 1.4.4
> expect 5.43
> gdb 6.4
> tcl 8.4.9
What platform is this?
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Gdb
mailing list