aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-06-02 08:23:50 -0700
committerJoel Brobecker <brobecker@adacore.com>2014-06-02 08:38:21 -0700
commit230cd560c88f323e2c3e0ed9186e134ef70369e0 (patch)
tree8d0a174364040787cb5763864fe27b2737895471 /gdb
parentec9a8169c363a80c51d9d603f00637bc4fe97b4d (diff)
downloadgdb-230cd560c88f323e2c3e0ed9186e134ef70369e0.zip
gdb-230cd560c88f323e2c3e0ed9186e134ef70369e0.tar.gz
gdb-230cd560c88f323e2c3e0ed9186e134ef70369e0.tar.bz2
Remove some trailing spaces in source.c
gdb/ChangeLog: * source.c (substitute_path_rule_matches): Remove trailing spaces.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/source.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e310659..aa56a10 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-02 Joel Brobecker <brobecker@adacore.com>
+
+ * source.c (substitute_path_rule_matches): Remove trailing spaces.
+
2014-06-01 Ludovic Courtès <ludo@gnu.org>
* configure.ac: When Guile is available, check for the
diff --git a/gdb/source.c b/gdb/source.c
index c77a4f4..cb05939 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -952,7 +952,7 @@ substitute_path_rule_matches (const struct substitute_path_rule *rule,
/* Make sure that the region in the path that matches the substitution
rule is immediately followed by a directory separator (or the end of
string character). */
-
+
if (path[from_len] != '\0' && !IS_DIR_SEPARATOR (path[from_len]))
return 0;