From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15139 invoked by alias); 27 Oct 2011 16:17:41 -0000 Received: (qmail 15129 invoked by uid 22791); 27 Oct 2011 16:17:40 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Oct 2011 16:17:22 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RJSdt-0000xf-TG from pedro_alves@mentor.com ; Thu, 27 Oct 2011 09:17:22 -0700 Received: from scottsdale.localnet ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Oct 2011 17:17:20 +0100 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Error while mapping shared library sections Date: Thu, 27 Oct 2011 17:00:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.1; x86_64; ; ) Cc: johnmb References: <32732200.post@talk.nabble.com> In-Reply-To: <32732200.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201110271717.18553.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00202.txt.bz2 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