aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-10-22 20:58:56 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-10-22 20:58:56 +0000
commitfc062ac6da332b5efa74673c0502dd94df1f8b58 (patch)
tree17bfff3bc8cc22093ec12bf6257df103bcc22c52 /gdb
parent81c0587e038d92c4ffcfb434d365c0c9af7d8eaf (diff)
downloadgdb-fc062ac6da332b5efa74673c0502dd94df1f8b58.zip
gdb-fc062ac6da332b5efa74673c0502dd94df1f8b58.tar.gz
gdb-fc062ac6da332b5efa74673c0502dd94df1f8b58.tar.bz2
* symtab.c (symbol_search_name): Minor reformatting.
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