From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30842 invoked by alias); 8 Jul 2009 15:45:10 -0000 Received: (qmail 30828 invoked by uid 22791); 8 Jul 2009 15:45:08 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 15:45:02 +0000 Received: (qmail 11105 invoked from network); 8 Jul 2009 15:45:00 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Jul 2009 15:45:00 -0000 From: Pedro Alves To: danny.backx@scarlet.be Subject: Re: How to fix solib path name? Date: Wed, 08 Jul 2009 15:45:00 -0000 User-Agent: KMail/1.9.10 Cc: gdb-patches@sourceware.org References: <1247063678.3870.59.camel@pavilion> <200907081607.22830.pedro@codesourcery.com> <1247067073.3870.69.camel@pavilion> In-Reply-To: <1247067073.3870.69.camel@pavilion> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907081645.02522.pedro@codesourcery.com> X-IsSubscribed: yes 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/msg00257.txt.bz2 On Wednesday 08 July 2009 16:31:13, Danny Backx wrote: >=20 > > Maybe we can make gdbserver smarter even on CE < 6? =A0I think I > > remember that if you had toolhelp.dll on the device, you'd get > > absolute paths, but I'm not sure if that's a valid memory I have. > >=20 >=20 > I've added one printf statement to gdbserver/server.c just after where > it assembles the library name list. >=20 > Output on the infamous C++ hello2.exe below. Two out of the three are > absolute path names. Not sure why the other one isn't. Heh. That's the same dll you have issues with when reading it's filename, and also the one where you have that test app crashing, isn't it? :-) Where (which dir) in the device is it located? Does it change anything if you put it next to the others, in case it isn't already? > Is it best to adapt gdbserver for this ? I don't know what you mean by adapt here. The point of absolute pathnames is that you can have more than one dll with the same name around, so gdb doesn't have to guess which is which. Why not just use "set sysroot"? --=20 Pedro Alves