This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch - sort of] for 6.3 "int err;" not initialized insymfile.c/"load_section_callback (...)"
- From: "Theodore A. Roth" <troth at openavr dot org>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 18 Nov 2004 13:38:50 -0800 (PST)
- Subject: Re: [patch - sort of] for 6.3 "int err;" not initialized insymfile.c/"load_section_callback (...)"
- References: <BDC27F1E.7FFD%schlie@comcast.net>
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