From: Joel Brobecker Date: Thu, 29 Mar 2012 18:22:51 +0000 (+0000) Subject: [Ada] struct ada_symbol_info minor reformatting & doc update. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c0ac8c76635e64f933199c13d491e1b14b9363e;p=binutils-gdb.git [Ada] struct ada_symbol_info minor reformatting & doc update. gdb/ChangeLog: * ada-lang.h (struct ada_symbol_info): Reformat. Improve documentation. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a334a068167..981fda76070 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-03-29 Joel Brobecker + + * ada-lang.h (struct ada_symbol_info): Reformat. Improve + documentation. + 2012-03-28 Rathish C * 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 d019a1dfbaa..cbca3db3b39 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). */