From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16225 invoked by alias); 1 Jul 2010 17:00:30 -0000 Received: (qmail 16207 invoked by uid 22791); 1 Jul 2010 17:00:27 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Jul 2010 17:00:22 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E7ACA1B4301; Thu, 1 Jul 2010 17:00:19 +0000 (UTC) From: Mike Frysinger To: gdb@sourceware.org Subject: Re: Remote debugging w/o symbols Date: Thu, 01 Jul 2010 17:00:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.34; KDE/4.4.4; x86_64; ; ) Cc: Mathias Lafeldt References: <4C2C7E02.5050007@debugon.org> In-Reply-To: <4C2C7E02.5050007@debugon.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2605195.K7IECBqhjJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201007011259.12422.vapier@gentoo.org> 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: 2010-07/txt/msg00003.txt.bz2 --nextPart2605195.K7IECBqhjJ Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 753 On Thursday, July 01, 2010 07:37:38 Mathias Lafeldt wrote: > is there any way I can do remote debugging without using a command like > "file" to get the symbols? >=20 > After running "target remote ..." to connect to a remote stub, "dump" or > "disassemble" fail due to a memory access error. I know that the symbols > are required for source-level debugging, but I guess there still must be > a way to dump memory and disassemble it without them. >=20 > Manually defining memory regions with "mem" didn't change the situation. you need to show the actual commands you're running and the output you're=20 seeing. i do remote debugging with no symbols all the time and dont have=20 problems reading/writing/disassembling random pieces of memory. -mike --nextPart2605195.K7IECBqhjJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAABAgAGBQJMLMlgAAoJEEFjO5/oN/WBBUwQAKs3UpZmh6wttn+8dROpea7S d11rgdvthN0INI9S+icKBM1ejN7gSXZpt6DD2pBLe36VSPsntFmdiXVp//cLXvyW tOayRBOV/BN4nVrCuKd9qiMTpxSWpABXeq+IlBGMqKLTsdduITsZNJCQUET1sn05 IopMGBTv4yA81vfPdotVji/FNLq4cvZNSFTWzsb0BKyls5y7l+O98tnrv6JdymTu cCkvhVDg6Gr49/XPXrnJet3orBiiSvHQZEk2stqzjpAbuO6rVbmZ/q6eTka14Fe9 gULDD+w8QCFaRxL1fkOflSBaBpJ1XFKOuhtiLNAit7uIhRY8vtI2zhigojPIATM6 GKq/LuJTt5EfEfohpxZobIeIHApWQzfVO1jIxhOF+5vdhbdhATTUmax0M2ryHYKR PPgT58se7lVIPYkpQAblx1yBXNpBa9QbDKuCrAxRUpVM5cjg14JO+0kZgj2/X9yL iPkBLhLU0g6vzWD96aYQlmERlqpLev+e00gnANdejO1o1mSWw0T2JwjIIUs6BAxG JH+Apau+YLJ4gZP3k9Pqh4N+YOJ+R/Mg8HK0g7ctzkRVOFfOBjsvqniYFKdnvq4r lBF/+nBx44wiglmeo4IpIhSu3TwuYRBNKs6SwVqyvPlt+AJYcWAQpCuWPNlMFZ9j 05wpyOZqqCUR2YuC1xet =B7js -----END PGP SIGNATURE----- --nextPart2605195.K7IECBqhjJ--