From patchwork Mon Sep 21 04:49:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 8813 Received: (qmail 82479 invoked by alias); 21 Sep 2015 04:51:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 82467 invoked by uid 89); 21 Sep 2015 04:51:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS, UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 X-HELO: mail-pa0-f42.google.com Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 21 Sep 2015 04:51:11 +0000 Received: by pacfv12 with SMTP id fv12so107539378pac.2 for ; Sun, 20 Sep 2015 21:51:09 -0700 (PDT) X-Received: by 10.66.119.237 with SMTP id kx13mr22193177pab.99.1442811068941; Sun, 20 Sep 2015 21:51:08 -0700 (PDT) Received: from sspiff.org (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by smtp.gmail.com with ESMTPSA id uh10sm21799673pab.41.2015.09.20.21.51.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Sep 2015 21:51:08 -0700 (PDT) Received: by sspiff.org (sSMTP sendmail emulation); Sun, 20 Sep 2015 21:49:58 -0700 From: Doug Evans To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] dwarf2read.c (add_partial_symbol): Remove outdated comments. Date: Sun, 20 Sep 2015 21:49:57 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. fyi, I committed this. 2015-09-20 Doug Evans * dwarf2read.c (add_partial_symbol): Remove outdated comments. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b8c0872..90e581a 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -6887,8 +6887,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu) of the global scope. But in Ada, we want to be able to access nested procedures globally. So all Ada subprograms are stored in the global scope. */ - /* prim_record_minimal_symbol (actual_name, addr, mst_text, - objfile); */ add_psymbol_to_list (actual_name, strlen (actual_name), built_actual_name != NULL, VAR_DOMAIN, LOC_BLOCK, @@ -6897,8 +6895,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu) } else { - /* prim_record_minimal_symbol (actual_name, addr, mst_file_text, - objfile); */ add_psymbol_to_list (actual_name, strlen (actual_name), built_actual_name != NULL, VAR_DOMAIN, LOC_BLOCK, @@ -6967,8 +6963,6 @@ add_partial_symbol (struct partial_die_info *pdi, struct dwarf2_cu *cu) return; } - /* prim_record_minimal_symbol (actual_name, addr + baseaddr, - mst_file_data, objfile); */ add_psymbol_to_list (actual_name, strlen (actual_name), built_actual_name != NULL, VAR_DOMAIN, LOC_STATIC,