* symtab.c (symbol_search_name): Minor reformatting.

This commit is contained in:
Joel Brobecker 2004-10-22 20:58:56 +00:00
parent 81c0587e03
commit fc062ac6da
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-10-21 Joel Brobecker <brobecker@gnat.com>
* symtab.c (symbol_search_name): Minor reformatting.
2004-10-20 Joel Brobecker <brobecker@gnat.com> 2004-10-20 Joel Brobecker <brobecker@gnat.com>
* symtab.h: Fix typo in comment. * symtab.h: Fix typo in comment.

View file

@ -684,7 +684,9 @@ symbol_demangled_name (struct general_symbol_info *gsymbol)
linkage name of the symbol, depending on how it will be searched for. linkage name of the symbol, depending on how it will be searched for.
If there is no distinct demangled name, then returns the same value If there is no distinct demangled name, then returns the same value
(same pointer) as SYMBOL_LINKAGE_NAME. */ (same pointer) as SYMBOL_LINKAGE_NAME. */
char *symbol_search_name (const struct general_symbol_info *gsymbol) { char *
symbol_search_name (const struct general_symbol_info *gsymbol)
{
if (gsymbol->language == language_ada) if (gsymbol->language == language_ada)
return gsymbol->name; return gsymbol->name;
else else