This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: remote/1836: Memory access error while loading section xxx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]