[rfa/testsuite/stabs] weird.exp: accept full path name
Elena Zannoni
ezannoni@redhat.com
Thu Apr 22 15:53:00 GMT 2004
[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
More information about the Gdb-patches
mailing list