From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24846 invoked by alias); 1 May 2005 04:28:48 -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 24760 invoked from network); 1 May 2005 04:28:44 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 1 May 2005 04:28:44 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DS64Q-0004jH-MK; Sun, 01 May 2005 00:28:42 -0400 Date: Sun, 01 May 2005 04:28:00 -0000 From: Daniel Jacobowitz To: Wu Zhou Cc: pgilliam@us.ibm.com, gdb-patches@sources.redhat.com Subject: Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure Message-ID: <20050501042842.GA18131@nevyn.them.org> Mail-Followup-To: Wu Zhou , pgilliam@us.ibm.com, gdb-patches@sources.redhat.com References: <1114921124.427458a4c9c4a@imap.linux.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1114921124.427458a4c9c4a@imap.linux.ibm.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00003.txt.bz2 On Sun, May 01, 2005 at 12:18:44AM -0400, Wu Zhou wrote: > Is it ok to change the following lines in shreloc1.c/shreloc2.c from: > > ATTRIBUTES void fn_1 (int unused) { } > ATTRIBUTES void fn_2 (int unused) { } > > to: > > ATTRIBUTES void fn_1 (int refered) { static_var_1 = refered; } > ATTRIBUTES void fn_2 (int refered) { static_var_2 = refered; } > > Please comments. Thanks. Certainly. Is that enough to consider them referenced for xlc? -- Daniel Jacobowitz CodeSourcery, LLC