From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13543 invoked by alias); 7 Nov 2003 20:31:35 -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 13533 invoked from network); 7 Nov 2003 20:31:35 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 7 Nov 2003 20:31:35 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id D76B01A42DB; Fri, 7 Nov 2003 15:31:34 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16300.294.770047.480085@localhost.redhat.com> Date: Fri, 07 Nov 2003 20:31:00 -0000 To: Michael Elizabeth Chastain Cc: ezannoni@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [rfc] msymbol.size In-Reply-To: <200311072019.hA7KJodd024882@duracef.shout.net> References: <200311072019.hA7KJodd024882@duracef.shout.net> X-SW-Source: 2003-11/txt/msg00129.txt.bz2 Michael Elizabeth Chastain writes: > eza> let me see if I can get at one. > > The critical code is: > > /* dbxread.c */ > end_symtab (...) > { > ... > if (pst->texthigh == 0 && last_function_name) > { > ... > > if (minsym) > pst->texthigh = SYMBOL_VALUE_ADDRESS (minsym) + MSYMBOL_SIZE (minsym); > > ... > } > ... > } > > If that assignment executes, and the address and size have the same > value before and after my patch, then the patch is okay. > > A before-and-after test run on such a platform would be perfect. > ok, build proceeding now... elena > Michael C