aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6035e8..7436d27 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* symtab.h: Fix typo in comment.
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 8ed6d9e..7c90c50 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -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.
If there is no distinct demangled name, then returns the same value
(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)
return gsymbol->name;
else