aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/psymtab.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 22d9cef..ece7069 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-21 Doug Evans <dje@google.com>
+
+ * psymtab.c (psymtab_search_name): Fix whitespace.
+
2014-11-21 Yao Qi <yao@codesourcery.com>
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 86ea80d..2fc882f 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -633,13 +633,13 @@ psymtab_search_name (const char *name)
case language_cplus:
case language_java:
{
- if (strchr (name, '('))
- {
- char *ret = cp_remove_params (name);
+ if (strchr (name, '('))
+ {
+ char *ret = cp_remove_params (name);
- if (ret)
- return ret;
- }
+ if (ret)
+ return ret;
+ }
}
break;