This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [spu] Fix build break
- From: Ulrich Weigand <uweigand at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 4 May 2018 17:21:27 -0000
- Subject: [binutils-gdb] [spu] Fix build break
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2be4d7f0e0f733ba0acc2120fdff62bd83fb8b3a
commit 2be4d7f0e0f733ba0acc2120fdff62bd83fb8b3a
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date: Fri May 4 19:20:18 2018 +0200
[spu] Fix build break
gdb/ChangeLog:
2018-05-04 Ulrich Weigand <uweigand@de.ibm.com>
* spu-linux-nat.c (spu_linux_nat_target::wait): Fix syntax error.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/spu-linux-nat.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b7e372f..6005f54 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-04 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-linux-nat.c (spu_linux_nat_target::wait): Fix syntax error.
+
2018-05-04 Tom Tromey <tom@tromey.com>
* remote.c (remote_query_supported_append): Change type.
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c
index c289bb7..45485b5 100644
--- a/gdb/spu-linux-nat.c
+++ b/gdb/spu-linux-nat.c
@@ -459,8 +459,8 @@ spu_linux_nat_target::post_attach (int pid)
/* Wait for child PTID to do something. Return id of the child,
minus_one_ptid in case of error; store status into *OURSTATUS. */
ptid_t
-spu_linux_nat_target:::wait (ptid_t ptid, struct target_waitstatus *ourstatus,
- int options)
+spu_linux_nat_target::wait (ptid_t ptid, struct target_waitstatus *ourstatus,
+ int options)
{
int save_errno;
int status;