Hi, I just encountered a problem with using the "load" command with a remote avr target. The first packet would be sent to the remote target and then gdb would just give up with this error message: (gdb) load Loading section .text, size 0x1f8 lma 0x0 Sending packet: $M0,a:0c9446000c9463000c94#d7...Ack Packet received: OK Memory access error while loading section .text. It looks like load_section_callback() in symfile.c is assuming that a call to target_write_memory_partial() will set the err variable. Unfortunately, that is not a valid assumption. The attached patch got things working again, but this feels like a hack to me since target_write_memory_partial() should really be setting err to a sane value before returning. Patch is against today's cvs mainline. --- Ted Roth PGP Key ID: 0x18F846E9 Jabber ID: troth@jabber.org