[patch - sort of] for 6.3 "int err;" not initialized in symfile.c/"load_section_callback (...)"
Theodore A. Roth
troth@openavr.org
Thu Nov 18 21:38:00 GMT 2004
On Thu, 18 Nov 2004, Paul Schlie wrote:
> Hi, sorry, not exactly a patch, but it might help someone keep their hair
> a little longer...
>
> In symfile.c within "load_section_callback (...)", "int err;" is not
> initialized and may not be set by "target_write_memory_partial (...)",
> so therefore may appear to fail, although all is well; which was a minor
> pain discovering. (causing an apparent failure when loading remote memory)
I already brought this up a while back. Here's a link to the thread:
http://sources.redhat.com/ml/gdb-patches/2004-10/msg00324.html
---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: troth@jabber.org
More information about the Gdb-patches
mailing list