This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: remote/1836: Memory access error while loading section xxx
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 4 Apr 2005 18:18:01 -0000
- Subject: Re: remote/1836: Memory access error while loading section xxx
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR remote/1836; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: sbalasubramanian@ra.rockwell.com, Ivan Djelic <ivan.djelic@parrot.fr>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: remote/1836: Memory access error while loading section xxx
Date: Mon, 4 Apr 2005 14:16:32 -0400
> Gdb6.3 fails to download target image when a load command is issued as part of remote debug beyond first packet and erroneously displays "Memory access error while loading section xxx". This behavior is because function "load_section_callback"
> in file "symfile.c" checks variable "err" after calling function "target_write_memory_partial". Variable "err" is not properly set inside "target_write_memory_partial" under all paths. See Fix for simple solution.
This should be fixed in CVS; can you try a current snapshot?
--
Daniel Jacobowitz
CodeSourcery, LLC