diff options
author | Doug Evans <xdje42@gmail.com> | 2015-08-29 17:10:58 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2015-08-29 17:10:58 -0700 |
commit | 1cd36e54086a411ae210f9093b263b1cb6f704f9 (patch) | |
tree | f03327a9e09db3d503dc8fffb8ba5b4707530f2a | |
parent | c6ef89f56b506f7279d98fad13360bce30c06022 (diff) | |
download | gdb-1cd36e54086a411ae210f9093b263b1cb6f704f9.zip gdb-1cd36e54086a411ae210f9093b263b1cb6f704f9.tar.gz gdb-1cd36e54086a411ae210f9093b263b1cb6f704f9.tar.bz2 |
symtab.h (struct symbol): Tweak comment.
gdb/ChangeLog:
* symtab.h (struct symbol): Tweak comment.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symtab.h | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e727bfb..9dd591c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-08-29 Doug Evans <xdje42@gmail.com> + + * symtab.h (struct symbol): Tweak comment. + 2015-08-29 Patrick Palka <patrick@parcs.ath.cx> * gdbtypes.c (alloc_type_arch): Allocate the type on the given 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, |