This is the mail archive of the gdb@sourceware.org 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: expand-symtabs.exp


On Sun, Jan 27, 2008 at 04:28:22PM +0100, Mark Kettenis wrote:
> The new expand-psymtabs.exp consistently fails on all systems I try it
> on with something like:
> 
> 
> (gdb) break 32
> No line 32 in file "../../../../src/gdb/gdb/testsuite/gdb.base/expand-psymtabs.c".
> (gdb) FAIL: gdb.base/expand-psymtabs.exp: Expand psymtabs
> 
> 
> Looking at the source code for this test, GDB's respnse here is quite
> reasonable, since line 32 is the line withe the comment /* Break here
> */ in the code fragment below:

GDB's historical behavior in that case is to set a breakpoint on the
next line, and there ought to be code for the next line (the
epilogue).  It looks like you're hitting the bug the testcase was
written for.  Does break 32 work with -readnow?

FWIW, it passed for me (Debian x86_64).

  http://sourceware.org/ml/gdb-patches/2007-10/msg00456.html


-- 
Daniel Jacobowitz
CodeSourcery


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