aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-30 15:03:07 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-30 15:03:07 +0000
commit0a2cfde49a830b432ff218be3580938e52438fbd (patch)
tree9debf0cd0f8899df8f4dc8b8ee7c0b1c558ce966 /gdb
parent17a2f25124028eb8d770d0682b1fa117c709f0d4 (diff)
downloadfsf-binutils-gdb-0a2cfde49a830b432ff218be3580938e52438fbd.zip
fsf-binutils-gdb-0a2cfde49a830b432ff218be3580938e52438fbd.tar.gz
fsf-binutils-gdb-0a2cfde49a830b432ff218be3580938e52438fbd.tar.bz2
2003-06-30 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_async_wait): Fix -Wformat problem.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1986cee..ffb7530 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-30 Andrew Cagney <cagney@redhat.com>
+
+ * remote.c (remote_async_wait): Fix -Wformat problem.
+
2003-06-29 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_wait): Call error, and not warning, when the
diff --git a/gdb/remote.c b/gdb/remote.c
index ffa8c60..9ccb3a5 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -3287,7 +3287,8 @@ remote_async_wait (ptid_t ptid, struct target_waitstatus *status)
}
if (*p++ != ';')
- error ("Remote register badly formatted: %s\nhere:", buf, p);
+ error ("Remote register badly formatted: %s\nhere: %s",
+ buf, p);
}
}
/* fall through */