This is the mail archive of the
gdb@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: <insight at sources dot redhat dot com>,<gdb at sources dot redhat dot com>
- Cc: <iliev at caretec dot at>
- Date: Fri, 31 Dec 2004 18:36:24 -0500
- Subject: Fix - remote target: Memory access error while loading section .rom_vectors
This is probably not a final fix, but (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;