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: Error while mapping shared library sections


On Thursday 27 October 2011 16:23:56, johnmb wrote:

> All the libraries are at the locations in the remote target as given in the
> error messages so I don't
> understand why this is happening.  

Those files don't exist on the _host_ (where gdb is running).

> Any ideas would be most gratefully accepted.

You need a copy of the target's shared libraries on the host,
and point GDB at them.  See "set sysroot" in the manual.

-- 
Pedro Alves


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