From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14151 invoked by alias); 18 Nov 2004 21:38:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14134 invoked from network); 18 Nov 2004 21:38:52 -0000 Received: from unknown (HELO mail.amplepower.com) (216.39.162.139) by sourceware.org with SMTP; 18 Nov 2004 21:38:52 -0000 Received: from [192.168.8.30] (helo=knuth.amplepower.com ident=roth) by mail.amplepower.com with esmtp (Exim 3.36 #1 (Debian)) id 1CUtzP-0005gz-00; Thu, 18 Nov 2004 13:38:51 -0800 Date: Thu, 18 Nov 2004 21:38:00 -0000 From: "Theodore A. Roth" X-X-Sender: roth@knuth.amplepower.com To: Paul Schlie cc: gdb-patches@sources.redhat.com Subject: Re: [patch - sort of] for 6.3 "int err;" not initialized in symfile.c/"load_section_callback (...)" In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-11/txt/msg00383.txt.bz2 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