This is the mail archive of the gdb-prs@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: gdb/339: reread.exp fails on x86-linux


The following reply was made to PR gdb/339; it has been noted by GNATS.

From: Jim Blandy <jimb@zwingli.cygnus.com>
To: geoffk@redhat.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/339: reread.exp fails on x86-linux
Date: 05 Feb 2002 23:08:59 -0500

 geoffk@redhat.com writes:
 > FAIL: gdb.base/reread.exp: second pass: breakpoint foo in first file
 > fails because the file seems not to be re-read.  The log
 > file contains:
 > 
 > (gdb) break foo
 > Note: breakpoint 1 also set at pc 0x80483b4.
 > Breakpoint 2 at 0x80483b4: file /maat/heart/tbox/objs-20020202T122355Z/share/gdb
 > -testsuite/gdb.base/reread1.c, line 13.
 > (gdb) FAIL: gdb.base/reread.exp: second pass: breakpoint foo in first file
 > 
 > The problem seems to have been introduced between
 > 20020120T015433Z and 20020122T065808Z.
 > >How-To-Repeat:
 > make check
 > >Fix:
 > Perhaps the following patch is relevant:
 > 2002-01-21  Jim Blandy  <jimb@redhat.com>
 > 
 >         * infcmd.c (run_command): Check that the `exec' target layer's BFD
 >         is up-to-date before running the program, not just when a program
 >         exits.
 > 
 > but I haven't tried backing it out to see if that fixes the problem.
 
 I can't reproduce this problem:
 
 twigboy:gdb$ rpm -qf /etc/redhat-release 
 redhat-release-7.0-1
 twigboy:gdb$ cd $DG2
 twigboy:build$ make check-gdb RUNTESTFLAGS=reread.exp
 make[1]: Entering directory `/home/jimb/cygnus/H-i686-pc-linux-gnulibc2.2/sourceware/gdb/main/native/build/gdb'
 make[2]: Entering directory `/home/jimb/cygnus/H-i686-pc-linux-gnulibc2.2/sourceware/gdb/main/native/build/gdb/testsuite'
 Nothing to be done for all...
 rootme=`pwd`; export rootme; \
 srcdir=/home/jimb/cygnus/src/sourceware/gdb/main/src/gdb/testsuite ; export srcdir ; \
 EXPECT=`if [ -f ${rootme}/../../expect/expect ] ; then echo ${rootme}/../../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
 EXEEXT= ; export EXEEXT ; \
         LD_LIBRARY_PATH=$rootme/../../expect:$rootme/../../libstdc++:$rootme/../../tk/unix:$rootme/../../tcl/unix:$rootme/../../bfd:$rootme/../../opcodes:$LD_LIBRARY_PATH; \
 export LD_LIBRARY_PATH; \
 if [ -f ${rootme}/../../expect/expect ] ; then  \
   TCL_LIBRARY=${srcdir}/../../tcl/library ; \
   export TCL_LIBRARY ; fi ; \
 runtest reread.exp 
 Test Run By jimb on Tue Feb  5 20:04:30 2002
 Native configuration is i686-pc-linux-gnu
 
                 === gdb tests ===
 
 Using /home/jimb/testing/boards/standard.exp as standard board description file for build.
 Using /home/jimb/testing/boards/standard.exp as standard board description file for host.
 Schedule of variations:
     unix
 
 Running target unix
 Using /home/jimb/testing/boards/standard.exp as standard board description file for target.
 Using /usr/cygnus/gnupro-02r1/share/dejagnu/baseboards/unix.exp as board description file for target.
 Using /usr/cygnus/gnupro-02r1/share/dejagnu/config/unix.exp as generic interface file for target.
 Using /home/jimb/cygnus/src/sourceware/gdb/main/src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
 Running /home/jimb/cygnus/src/sourceware/gdb/main/src/gdb/testsuite/gdb.base/reread.exp ...
 
                 === gdb Summary ===
 
 # of expected passes            7
 /home/jimb/cygnus/H-i686-pc-linux-gnulibc2.2/sourceware/gdb/main/native/build/gdb/testsuite/../../gdb/gdb version  2002-02-05-cvs -nx
 
 make[2]: Leaving directory `/home/jimb/cygnus/H-i686-pc-linux-gnulibc2.2/sourceware/gdb/main/native/build/gdb/testsuite'
 make[1]: Leaving directory `/home/jimb/cygnus/H-i686-pc-linux-gnulibc2.2/sourceware/gdb/main/native/build/gdb'
 twigboy:build$ 


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