From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24437 invoked by alias); 31 Dec 2004 23:33:51 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24113 invoked from network); 31 Dec 2004 23:33:39 -0000 Received: from unknown (HELO smtp811.mail.sc5.yahoo.com) (66.163.170.81) by sourceware.org with SMTP; 31 Dec 2004 23:33:39 -0000 Received: from unknown (HELO pas) (ptfoof@sbcglobal.net@68.73.149.25 with login) by smtp811.mail.sc5.yahoo.com with SMTP; 31 Dec 2004 23:33:38 -0000 From: "Peter Stephens" To: , Cc: Subject: Fix - remote target: Memory access error while loading section .rom_vectors Date: Fri, 31 Dec 2004 23:33:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-12/txt/msg00147.txt.bz2 Message-ID: <20041231233300.fXnLgXQ6PXytXPcmcYq3eulawQQfIIF5IQF2DsuwIg4@z> 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;