From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25716 invoked by alias); 16 Nov 2004 10:35:39 -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 25648 invoked from network); 16 Nov 2004 10:35:23 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 16 Nov 2004 10:35:23 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id BF9A710C94CE; Tue, 16 Nov 2004 11:23:39 +0100 (CET) To: "H. J. Lu" Cc: GDB Subject: Re: PATCH: Support DW_TAG_entry_point References: <20041116004654.GA24122@lucon.org> From: Andreas Schwab X-Yow: We just joined the civil hair patrol! Date: Tue, 16 Nov 2004 10:35:00 -0000 In-Reply-To: <20041116004654.GA24122@lucon.org> (H. J. Lu's message of "Mon, 15 Nov 2004 16:46:54 -0800") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-11/txt/msg00331.txt.bz2 "H. J. Lu" writes: > @@ -3151,6 +3165,27 @@ dwarf2_get_pc_bounds (struct die_info *d > > ret = -1; > } > + else if (die->tag == DW_TAG_entry_point) > + { > + /* DW_TAG_entry_point DIE only has DW_AT_high_pc. We get ^^^^^^^^^^^^^ > + HIGH from its parent. */ > + attr = dwarf2_attr (die, DW_AT_low_pc, cu); ^^^^^^^^^^^^ Looks like a comment typo. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."