From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1684 invoked by alias); 15 Apr 2005 19:41:05 -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 1662 invoked from network); 15 Apr 2005 19:41:00 -0000 Received: from unknown (HELO e32.co.us.ibm.com) (32.97.110.130) by sourceware.org with SMTP; 15 Apr 2005 19:41:00 -0000 Received: from westrelay01.boulder.ibm.com (westrelay01.boulder.ibm.com [9.17.195.10]) by e32.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j3FJex5j520018 for ; Fri, 15 Apr 2005 15:40:59 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay01.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3FJexOC157370 for ; Fri, 15 Apr 2005 13:40:59 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3FJewOb024094 for ; Fri, 15 Apr 2005 13:40:58 -0600 Received: from dyn9047022123-009047022128.beaverton.ibm.com (dyn9047022123-009047022128.beaverton.ibm.com [9.47.22.128]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3FJewIB024082; Fri, 15 Apr 2005 13:40:58 -0600 From: Paul Gilliam Reply-To: pgilliam@us.ibm.com To: gdb-patches@sources.redhat.com Subject: Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure Date: Fri, 15 Apr 2005 19:41:00 -0000 User-Agent: KMail/1.6.2 Cc: Daniel Jacobowitz References: <200504131013.36814.pgilliam@us.ibm.com> <20050414192309.GA19262@nevyn.them.org> In-Reply-To: <20050414192309.GA19262@nevyn.them.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200504151240.40293.pgilliam@us.ibm.com> X-SW-Source: 2005-04/txt/msg00164.txt.bz2 On Thursday 14 April 2005 12:23, Daniel Jacobowitz wrote: > On Wed, Apr 13, 2005 at 09:13:36AM -0800, Paul Gilliam wrote: > > This patch updates gdb.base/shreloc.exp to use the new shared library infrastructure in > > lib/gdb.exp. All the stuff that has been cut from shlib-call.exp is now part of 'gdb-compile' > > or 'gdb-compile-shlib' (new) in lib/gdb.exp. > > > > This patch depends on the shared infrastructure patch: > > http://sources.redhat.com/ml/gdb-patches/2005-04/msg00096.html > > Waitasec... > > > ! set additional_flags "additional_flags=-shared" > > ! > > ! if {([istarget "*pc-cygwin"] || [istarget "*pc-mingw32"]) } { > > ! set additional_flags "${additional_flags} -Wl,--image-base,0x04000000" > > } > > The common bits don't have support for cygwin/mingw32 DLLs. So just > removing this isn't right. > OK, sorry. I'll put it back in my next rev of the patch (comming soon) > > > ! set lib_opts [list debug additional_flags=-qstatsym additional_flags=-qdbxextra] > > Remind me what this option means? > > IBM's xlc compiler doesn't add static variables to the symtab by default. "-qstatsym" causes them to be added. 'xlc' will optimize un-used varialbe out of the symtab, "-qdbxextra" disable this default behavior. Maybe this should have been a seperate patch. Would that help? -=# Paul #=-