This is the mail archive of the gdb@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]

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;


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