Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Memory access error while loading section .text with avr-gdb 6.3-2
@ 2005-12-06 14:00 David Reis
  2005-12-06 14:02 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: David Reis @ 2005-12-06 14:00 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Memory access error while loading section .text with avr-gdb 6.3-2
  2005-12-06 14:00 Memory access error while loading section .text with avr-gdb 6.3-2 David Reis
@ 2005-12-06 14:02 ` Daniel Jacobowitz
  2005-12-06 14:16   ` David Reis
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-12-06 14:02 UTC (permalink / raw)
  To: David Reis; +Cc: gdb

On Tue, Dec 06, 2005 at 02:53:52PM +0100, David Reis wrote:
> The message is:
> Memory access error while loading section .text.

Please try GDB 6.4; this was fixed after the release of GDB 6.3.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Memory access error while loading section .text with avr-gdb  6.3-2
  2005-12-06 14:02 ` Daniel Jacobowitz
@ 2005-12-06 14:16   ` David Reis
  2005-12-06 14:32     ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: David Reis @ 2005-12-06 14:16 UTC (permalink / raw)
  To: gdb

Hi,

On Tue, 6 Dec 2005 09:02:18 -0500, you wrote:

>> Memory access error while loading section .text.
> Please try GDB 6.4; this was fixed after the release of GDB 6.3.

Thanks a lot, I will! As I am running Debian Unstable I suspected it to
have the respective fixes (read about the after 6.3 thing - but thought
6.3-2 was later, actually). I will post again if it should not work.

Thanks again,
David


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Memory access error while loading section .text with avr-gdb  6.3-2
  2005-12-06 14:16   ` David Reis
@ 2005-12-06 14:32     ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-12-06 14:32 UTC (permalink / raw)
  To: David Reis; +Cc: gdb

On Tue, Dec 06, 2005 at 03:10:06PM +0100, David Reis wrote:
> Hi,
> 
> On Tue, 6 Dec 2005 09:02:18 -0500, you wrote:
> 
> >> Memory access error while loading section .text.
> > Please try GDB 6.4; this was fixed after the release of GDB 6.3.
> 
> Thanks a lot, I will! As I am running Debian Unstable I suspected it to
> have the respective fixes (read about the after 6.3 thing - but thought
> 6.3-2 was later, actually). I will post again if it should not work.

Upgrade.  Debian unstable has 6.3.90.20051119-1, which is fixed.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-06 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06 14:00 Memory access error while loading section .text with avr-gdb 6.3-2 David Reis
2005-12-06 14:02 ` Daniel Jacobowitz
2005-12-06 14:16   ` David Reis
2005-12-06 14:32     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox