From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2216 invoked by alias); 6 Dec 2005 14:00:07 -0000 Received: (qmail 2188 invoked by uid 22791); 6 Dec 2005 14:00:05 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.hotpop.com (HELO smtp-out.hotpop.com) (38.113.3.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Dec 2005 14:00:01 +0000 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.105]) by smtp-out.hotpop.com (Postfix) with SMTP id EEE361EAB887 for ; Tue, 6 Dec 2005 13:59:57 +0000 (UTC) Received: from localhost.localdomain (p549EECAC.dip.t-dialin.net [84.158.236.172]) by smtp-3.hotpop.com (Postfix) with ESMTP id 4DD5C1B218F6 for ; Tue, 6 Dec 2005 13:53:53 +0000 (UTC) Date: Tue, 06 Dec 2005 14:00:00 -0000 From: David Reis To: gdb@sourceware.org Subject: Memory access error while loading section .text with avr-gdb 6.3-2 Message-ID: <20051206145352.71527612@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00051.txt.bz2 Hi, currently, I am trying to debug / simulate a rather simple project for a small robot with avr-gdb. Unfortunately, I have come across an error in gdb about whom I am not able to find any relevant information on Google or even this list. The message is: Memory access error while loading section .text. This occurs without any further details after having started simulavr, compiling the project anew and running a command file generated automatically by make. IOW, I am following the procedure on http://electrons.psychogenic.com/modules/arms/art/6/SimulatingandDebuggingAVRprograms.php At this state, gdb has connected to the simulavr gdb server and tries to load .text, as expressed in "Loading section .text, size 0x15c8 lma 0x0." This is the last message before the error. As I said, there is barely any information on this available, which is why I could not do too much to solve the problem myself. The only place I found .text is mentioned is the .map file - would it be helpful to provide the respective sections? It would be nice if someone had a solution for this, or could possibly point me into the direction of another debugger or gdb version, as it is absolutely necessary that the robot be up and running in an at least basic way before Friday... Finding a Windows PC and running AVR Studio would be the last resort for me. Thanks in advance for your efforts, David