This is the mail archive of the gdb-patches@sources.redhat.com 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: [rfa/testsuite/stabs] weird.exp: accept full path name


[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


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