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: Paul Schlie <schlie at comcast dot net>
- To: "Theodore A. Roth" <troth at openavr dot org>
- Cc: <gdb-patches at sources dot redhat dot com>
- Date: Thu, 18 Nov 2004 16:46:44 -0500
- Subject: Re: [patch - sort of] for 6.3 "int err;" not initialized insymfile.c/"load_section_callback (...)"
Thanks, sorry (apparently I should scan the list a little more diligently)
-paul-
> From: "Theodore A. Roth" <troth@openavr.org>
> Date: Thu, 18 Nov 2004 13:38:50 -0800 (PST)
> To: Paul Schlie <schlie@comcast.net>
> Cc: <gdb-patches@sources.redhat.com>
> Subject: Re: [patch - sort of] for 6.3 "int err;" not initialized in
> symfile.c/"load_section_callback (...)"
>
> 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