From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22226 invoked by alias); 8 Jul 2009 14:34:44 -0000 Received: (qmail 22213 invoked by uid 22791); 8 Jul 2009 14:34:42 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_20,J_CHICKENPOX_55,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Received: from eir.is.scarlet.be (HELO eir.is.scarlet.be) (193.74.71.27) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 14:34:35 +0000 Received: from [172.17.1.10] (ip-81-11-241-231.dsl.scarlet.be [81.11.241.231]) by eir.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n68EYTW5003724; Wed, 8 Jul 2009 16:34:30 +0200 Subject: How to fix solib path name? From: Danny Backx Reply-To: danny.backx@scarlet.be To: gdb-patches Content-Type: text/plain Date: Wed, 08 Jul 2009 14:34:00 -0000 Message-Id: <1247063678.3870.59.camel@pavilion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: eir 20001; Body=2 Fuz1=2 Fuz2=2 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00247.txt.bz2 I'm preparing a gdb patch so it works in a cross-debugging environment. Host I'm using is a linux pc, target is running Windows CE Embedded 6.0. The gdbserver part is getting complete, see other messages on this list. The gdb still has a quirck or two. (gdb) info sharedlibrary >From To Syms Read Shared Object Library No \network\x86\libgcc_s_sjlj-1.dll 0x41ee1000 0x41fb2974 Yes /opt/x86mingw32ce/i386-mingw32ce/lib/libstdc++-6.dll No \Windows\coredll.dll (gdb) I'm guessing that it should strip the \network\x86 from the library name before it attempts to find it in the solib-search-path. Should it ? If yes, where should the code for that be ? Thanks for the help. Once this gets fixed, I can submit that part of my work too. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info