diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 18:22:51 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 18:22:51 +0000 |
commit | 1c0ac8c76635e64f933199c13d491e1b14b9363e (patch) | |
tree | dd3c951b25072819e516d3c6cb8e36474b654141 | |
parent | f67f98b55b74d346ef535a01efdcc467f220b356 (diff) | |
download | gdb-1c0ac8c76635e64f933199c13d491e1b14b9363e.zip gdb-1c0ac8c76635e64f933199c13d491e1b14b9363e.tar.gz gdb-1c0ac8c76635e64f933199c13d491e1b14b9363e.tar.bz2 |
[Ada] struct ada_symbol_info minor reformatting & doc update.
gdb/ChangeLog:
* ada-lang.h (struct ada_symbol_info): Reformat. Improve
documentation.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-lang.h | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a334a06..981fda7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-29 Joel Brobecker <brobecker@adacore.com> + + * ada-lang.h (struct ada_symbol_info): Reformat. Improve + documentation. + 2012-03-28 Rathish C <rathish.c@kpitcummins.com> * v850-tdep.c: Add the enum values for mpu and fpu registers. diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index d019a1d..cbca3db 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -80,11 +80,15 @@ struct ada_opname_map /* Defined in ada-lang.c */ extern const struct ada_opname_map ada_opname_table[]; -/* A tuple, (symbol, block), representing one instance of a - * symbol-lookup operation. */ -struct ada_symbol_info { - struct symbol* sym; - struct block* block; +/* A tuple representing one instance of a symbol-lookup operation. */ + +struct ada_symbol_info +{ + /* The symbol that was found. */ + struct symbol *sym; + + /* The block where the symbol was found. */ + struct block *block; }; /* Denotes a type of renaming symbol (see ada_parse_renaming). */ |