This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/testsuite/stabs] weird.exp: accept full path name
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- Date: Thu, 22 Apr 2004 11:49:51 -0400
- Subject: Re: [rfa/testsuite/stabs] weird.exp: accept full path name
- References: <20040421223101.03B7E4B104@berman.michael-chastain.com><16519.59351.450039.450837@localhost.redhat.com>
[adding the list]
Elena Zannoni writes:
> Michael Elizabeth Chastain writes:
> > This is a small fix for weird.exp.
> >
> > gdb HEAD recently changed its output format for the "file" command
> > so that it prints the full pathname. This patch enhances weird.exp
> > to accept a full path-name.
> >
> > # gdb.log, previous
> > (gdb) file object.o
> > Reading symbols from object.o...done.
> > Using host libthread_db library "/lib/libthread_db.so.1".
> > (gdb) PASS: gdb.stabs/weird.exp: weirdx.o read without error
> >
> > # gdb.log, current
> > (gdb) file object.o
> > Reading symbols from /tmp/migbat-testgdb-n7isztC0/test/object.o...done.
> > Using host libthread_db library "/lib/libthread_db.so.1".
> > (gdb) FAIL: gdb.stabs/weird.exp: Errors reading weirdx.o
> >
> > Tested on native i686-pc-linux-gnu, gcc 2.95.3 and gcc 3.4.0,
> > dwarf-2 and stabs+.
> >
> > Okay to commit?
> >
> > Michael C
> >
> > 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
> >
> > * gdb.stabs/weird.exp: Accept full pathname for $binfile.
>
> Definitely.
>
> thanks