This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Fix - remote target: Memory access error while loading section .rom_vectors
- From: "Peter Stephens" <ptfoof at sbcglobal dot net>
- To: <gdb-patches at sources dot redhat dot com>
- Date: Sat, 1 Jan 2005 12:32:08 -0500
- Subject: Fix - remote target: Memory access error while loading section .rom_vectors
(bad programmer - spank, spank). If you initialize the 'err' variable it
works OK. This is probably why it has been such an intermittent problem.
Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.144
diff -r1.144 symfile.c
1408c1408
< int err;
---
> int err=0;