From patchwork Sun Aug 30 00:12:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 8516 Received: (qmail 24380 invoked by alias); 30 Aug 2015 00:13:30 -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 24366 invoked by uid 89); 30 Aug 2015 00:13:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f41.google.com Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 30 Aug 2015 00:13:28 +0000 Received: by paczk9 with SMTP id zk9so4239020pac.0 for ; Sat, 29 Aug 2015 17:13:26 -0700 (PDT) X-Received: by 10.68.131.106 with SMTP id ol10mr26682109pbb.94.1440893606756; Sat, 29 Aug 2015 17:13:26 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by smtp.gmail.com with ESMTPSA id td5sm9747908pbc.67.2015.08.29.17.13.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2015 17:13:26 -0700 (PDT) From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH] symtab.h (struct symbol): Tweak comment. Date: Sat, 29 Aug 2015 17:12:26 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. fyi, I committed this. 2015-08-29 Doug Evans * symtab.h (struct symbol): Tweak comment. diff --git a/gdb/symtab.h b/gdb/symtab.h index c6f26e7..4ff8ae7 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -800,11 +800,10 @@ struct symbol /* An arbitrary data pointer, allowing symbol readers to record additional information on a per-symbol basis. Note that this data must be allocated using the same obstack as the symbol itself. */ - /* So far it is only used by LOC_COMPUTED to - find the location information. For a LOC_BLOCK symbol - for a function in a compilation unit compiled with DWARF 2 - information, this is information used internally by the DWARF 2 - code --- specifically, the location expression for the frame + /* So far it is only used by: + LOC_COMPUTED: to find the location information + LOC_BLOCK (DWARF2 function): information used internally by the + DWARF 2 code --- specifically, the location expression for the frame base for this function. */ /* FIXME drow/2003-02-21: For the LOC_BLOCK case, it might be better to add a magic symbol to the block containing this information,