This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: parse output from `info sources' one filename at a time
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com, jimb at redhat dot com
- Date: Thu, 21 Feb 2002 16:42:25 -0500
- Subject: Re: RFA: parse output from `info sources' one filename at a time
- References: <200202212136.g1LLatO29595@duracef.shout.net>
On Thu, Feb 21, 2002 at 03:36:55PM -0600, Michael Elizabeth Chastain wrote:
> Jim Blandy writes:
> > This eliminates an `ERROR' when the test is run under Linux. The
> > output from `info sources' includes all the shared library source
> > files, making it so long that it overflows Expect's buffer.
>
> Interestingly, I don't get any ERROR from gdb.asm/asm-source.exp
> on native i686-pc-linux-gnu.
>
> My test script may be different from yours. More likely, my
> toolchain may be different from yours. I am using stock tcl 8.3.4,
> expect 5.33.0, dejagnu 1.4.2 compiled from source (not whatever
> version comes with my Red Hat Linux).
>
> Don't get me wrong, I'm all in favor of the patch. It's good for the
> testsuite to be "liberal in what it expects". I just want to note that
> there are several different versions of expect and dejagnu in the
> world and their differences are materializing in test results.
I'm not arguing that expect/dejagnu version skew hasn't caused problems
in the past, but that's unrelated to this. You don't get the error
because your C library does not contain debug info; no standard
desktop/server distribution leaves it there, generally.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer