remote/1836: Memory access error while loading section xxx

Daniel Jacobowitz drow@false.org
Mon Apr 4 18:18:00 GMT 2005


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



More information about the Gdb-prs mailing list