This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Help with gdb testsuite (lib/gdb.exp)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Olatunji Ruwase <Olatunji dot Ruwase at Sun dot COM>
- Cc: gdb at sourceware dot org
- Date: Wed, 21 Sep 2005 14:41:40 -0400
- Subject: Re: Help with gdb testsuite (lib/gdb.exp)
- References: <4331A7CA.6050807@Sun.COM>
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