From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24504 invoked by alias); 29 Feb 2004 02:59:22 -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 24495 invoked from network); 29 Feb 2004 02:59:21 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 29 Feb 2004 02:59:21 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AxHAn-0000yj-Ey for ; Sat, 28 Feb 2004 21:59:21 -0500 Date: Sun, 29 Feb 2004 02:59:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [patch] Initialize padding in gdb.base/relocate.c Message-ID: <20040229025921.GB3182@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040228175339.GA16396@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040228175339.GA16396@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-02/txt/msg00874.txt.bz2 On Sat, Feb 28, 2004 at 12:53:39PM -0500, Daniel Jacobowitz wrote: > The point of the dummy array is to change the addresses of the global > variables within the data segment. Unfortunately, it was initialized to > zeros; recent GCC versions will put zero-initialized data in .bss by > default, thus defeating the point. So just initialize it to something else. > > Will commit in a day or two. > 2004-02-28 Daniel Jacobowitz > > * gdb.base/relocate.c (dummy): Initialize. I've committed this patch to HEAD and GDB 6.1, after testing on i386-pc-linux-gnu. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer