From 1cd36e54086a411ae210f9093b263b1cb6f704f9 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 29 Aug 2015 17:10:58 -0700 Subject: [PATCH] symtab.h (struct symbol): Tweak comment. gdb/ChangeLog: * symtab.h (struct symbol): Tweak comment. --- gdb/ChangeLog | 4 ++++ gdb/symtab.h | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e727bfb7b75..9dd591ce382 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-08-29 Doug Evans + + * symtab.h (struct symbol): Tweak comment. + 2015-08-29 Patrick Palka * gdbtypes.c (alloc_type_arch): Allocate the type on the given diff --git a/gdb/symtab.h b/gdb/symtab.h index c6f26e772d2..4ff8ae7b539 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, -- 2.30.2