From ed2df75c51551cf9b44f7d94179849565ab5bdda Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 26 Nov 2018 14:35:03 -0500 Subject: [PATCH] Fix spurious semicolon in sparc-linux-nat.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove a semicolon that should not be there, as reported in PR 23917: CXX sparc-linux-nat.o /home/emaisin/src/binutils-gdb/gdb/sparc-linux-nat.c:39:3: error: expected unqualified-id before ‘{’ token { sparc_store_inferior_registers (regcache, regnum); } ^ Tested by rebuilding the file manually (make sparc-linux-nat.o) in a sparc64-linux-gnu build. gdb/ChangeLog: PR gdb/23917 * sparc-linux-nat.c (sparc_linux_nat_target): Remove extraneous semicolon. --- gdb/ChangeLog | 6 ++++++ gdb/sparc-linux-nat.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9badb72..1c714dd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2018-11-26 Simon Marchi + + PR gdb/23917 + * sparc-linux-nat.c (sparc_linux_nat_target): Remove extraneous + semicolon. + 2018-11-26 Pedro Alves * procfs.c (procfs_notice_thread): Replace uses of diff --git a/gdb/sparc-linux-nat.c b/gdb/sparc-linux-nat.c index 2df0025..765f24c 100644 --- a/gdb/sparc-linux-nat.c +++ b/gdb/sparc-linux-nat.c @@ -35,7 +35,7 @@ public: void fetch_registers (struct regcache *regcache, int regnum) override { sparc_fetch_inferior_registers (regcache, regnum); } - void store_registers (struct regcache *regcache, int regnum) override; + void store_registers (struct regcache *regcache, int regnum) override { sparc_store_inferior_registers (regcache, regnum); } }; -- 2.7.4