From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4951 invoked by alias); 28 Jan 2004 05:57:20 -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 4911 invoked from network); 28 Jan 2004 05:57:19 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 28 Jan 2004 05:57:19 -0000 Received: by zenia.home (Postfix, from userid 5433) id F2AE9207A3; Wed, 28 Jan 2004 00:57:06 -0500 (EST) To: gdb-patches@sources.redhat.com Subject: PATCH: reindent comment From: Jim Blandy Date: Wed, 28 Jan 2004 05:57:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-01/txt/msg00719.txt.bz2 Committed as obvious. 2004-01-27 Jim Blandy * dwarf2read.c (read_func_scope): Re-indent comment. Index: gdb/dwarf2read.c =================================================================== RCS file: /cvs/src/src/gdb/dwarf2read.c,v retrieving revision 1.128 diff -c -r1.128 dwarf2read.c *** gdb/dwarf2read.c 28 Jan 2004 04:02:51 -0000 1.128 --- gdb/dwarf2read.c 28 Jan 2004 04:04:04 -0000 *************** *** 2173,2199 **** { struct die_info *spec_die = die_specification (die, cu); ! /* NOTE: carlton/2004-01-23: We have to be careful in the ! presence of DW_AT_specification. For example, with GCC ! 3.4, given the code ! namespace N { ! void foo() { ! // Definition of N::foo. ! } ! } ! then we'll have a tree of DIEs like this: ! 1: DW_TAG_compile_unit ! 2: DW_TAG_namespace // N ! 3: DW_TAG_subprogram // declaration of N::foo ! 4: DW_TAG_subprogram // definition of N::foo ! DW_AT_specification // refers to die #3 ! Thus, when processing die #4, we have to pretend that ! we're in the context of its DW_AT_specification, namely ! the contex of die #3. */ if (spec_die != NULL) { --- 2173,2199 ---- { struct die_info *spec_die = die_specification (die, cu); ! /* NOTE: carlton/2004-01-23: We have to be careful in the ! presence of DW_AT_specification. For example, with GCC 3.4, ! given the code ! namespace N { ! void foo() { ! // Definition of N::foo. ! } ! } ! then we'll have a tree of DIEs like this: ! 1: DW_TAG_compile_unit ! 2: DW_TAG_namespace // N ! 3: DW_TAG_subprogram // declaration of N::foo ! 4: DW_TAG_subprogram // definition of N::foo ! DW_AT_specification // refers to die #3 ! Thus, when processing die #4, we have to pretend that we're ! in the context of its DW_AT_specification, namely the contex ! of die #3. */ if (spec_die != NULL) {