This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] symtab.h (struct symbol): Tweak comment.
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 29 Aug 2015 17:12:26 -0700
- Subject: [PATCH] symtab.h (struct symbol): Tweak comment.
- Authentication-results: sourceware.org; auth=none
Hi.
fyi, I committed this.
2015-08-29 Doug Evans <xdje42@gmail.com>
* 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,