aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-03-08 14:42:23 +0000
committerTom Tromey <tromey@redhat.com>2013-03-08 14:42:23 +0000
commit7da3ab792088f01bb2d2453e08ef7d5a4458982b (patch)
tree10339ce467c465d709d0f226c2116a760d327f5a
parentaf924177b567aa87d8cd25cb2f6f245c737b029a (diff)
downloadgdb-7da3ab792088f01bb2d2453e08ef7d5a4458982b.zip
gdb-7da3ab792088f01bb2d2453e08ef7d5a4458982b.tar.gz
gdb-7da3ab792088f01bb2d2453e08ef7d5a4458982b.tar.bz2
* remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
variable.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-m32r-sdi.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index da506b4..dc7e5c5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-08 Tom Tromey <tromey@redhat.com>
+
+ * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
+ variable.
+
2013-03-07 Pedro Alves <palves@redhat.com>
* target.c (target_read_stralloc, target_fileio_read_alloc):
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c
index 653cc7e..2b23273 100644
--- a/gdb/remote-m32r-sdi.c
+++ b/gdb/remote-m32r-sdi.c
@@ -1234,7 +1234,7 @@ m32r_load (char *args, int from_tty)
{
char *arg;
- args = skip_spaces (arg);
+ args = skip_spaces (args);
arg = args;