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: "failed to find valid object file", but which object file? (using static libraries)


On Tue, Jun 26, 2007 at 01:51:58PM +0200, Bram Kuijper wrote:
> > No, you should figure out why GDB has failed :-)  You'd have to debug
> > it, though.  The error message indicates that either reading from
> > memory has failed or else the image found there was surprising
> > somehow.  If you run with "set debug target 1", do any errors show up?
> 
> it was quite some output, so I put it on pastebin.com:
> 
> http://pastebin.com/936686


child:target_xfer_partial (1, (null), 0xbff40994,  0x0,  0xffffe000, 52) = -1
target_terminal_ours ()
Failed to read a valid object file image from memory.

0xffffe000 is the traditional address of the vDSO.  I don't know why
you couldn't read from it; you may wish to report this to Ubuntu.

-- 
Daniel Jacobowitz
CodeSourcery


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