This is the mail archive of the gdb@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]

Re: Help with gdb testsuite (lib/gdb.exp)


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


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