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/symtab] Move find_pc_section call to lookup_minimal_symbol_by_pc


Adam Fedor writes:

 > +2004-01-29  Adam Fedor  <fedor@gnu.org>
 > +
 > +	* gdb.base/ppc-shared.exp: New file.
 > +	* gdb.base/ppc-main.c, gdb.base/ppc-shared.c: New files.
 > +


I would just name these files with the PR number, since the test is generic. The other problem (runaway with next) should have its own set of files.

Um, I'm not sure what is happening. My GNU/Linux amd64 box appears to pass both times:


6 hithere2();
(gdb) s
hithere2 () at /home/cygnus/cagney/PENDING/YYYY-MM-DD-mips/src/gdb/testsuite/gdb
.base/ppc-shared.c:3
3 return 21;
(gdb) PASS: gdb.base/ppc-shared.exp: Step into shared lib function


While my NetBSD box fails both times (but I suspect that's just the NetBSD code):

6         hithere2();
(gdb) s
7         return 0;
(gdb) FAIL: gdb.base/ppc-shared.exp: Step into shared lib function

Mind you, means it's a good test :-)

Andrew



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