From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29081 invoked by alias); 20 Nov 2002 17:18:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29065 invoked from network); 20 Nov 2002 17:18:21 -0000 Received: from unknown (HELO exchange.timesys.com) (65.117.135.102) by sources.redhat.com with SMTP; 20 Nov 2002 17:18:21 -0000 Received: from [192.168.2.66] ([65.117.135.98]) by exchange.timesys.com with Microsoft SMTPSVC(5.0.2195.3779); Wed, 20 Nov 2002 12:11:29 -0500 Subject: gdbserver on PowerPC Issues From: Paul Mundt To: gdb@sources.redhat.com Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jLebyHuVHCC6O3LwPEqt" Organization: TimeSys Corporation Message-Id: <1037812916.1315.22.camel@Origin> Mime-Version: 1.0 Date: Wed, 20 Nov 2002 09:18:00 -0000 X-OriginalArrivalTime: 20 Nov 2002 17:11:29.0968 (UTC) FILETIME=[DE1D6B00:01C290B7] X-SW-Source: 2002-11/txt/msg00264.txt.bz2 --=-jLebyHuVHCC6O3LwPEqt Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1301 Hi, Currently when I try and debug an application via gdbserver running on a PowerPC target (ep8260 in this case) I get the following: $ powerpc-linux-gdb GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=3Di686-linux --target=3Dpowerpc-linux". (gdb) file hello Reading symbols from hello...done. (gdb) target remote 192.168.2.84:10002 Remote debugging using 192.168.2.84:10002 0x3000fa8c in ?? () warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. (gdb) Now, looking through gnats, I see that someone had a similar problem and this was logged as PR 236 -- to which there doesn't seem to be a fix. Also looking through google, someone had suggested that this problem might potentially be caused by having a stripped linker, and the linker does indeed appear to be unstripped. Any other suggestions? Regards, --=20 Paul Mundt paul.mundt@timesys.com TimeSys Corporation --=-jLebyHuVHCC6O3LwPEqt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA928SzicEyV32UmDQRAop5AJ9/3eQpRQUfO5yNuQUfiQuu+ec5PQCg4Zgy vf04kZX45xutWFpxM/8IyGg= =drvb -----END PGP SIGNATURE----- --=-jLebyHuVHCC6O3LwPEqt--