From: Simon Marchi Date: Mon, 26 Nov 2018 19:35:03 +0000 (-0500) Subject: Fix spurious semicolon in sparc-linux-nat.c X-Git-Tag: users/ARM/embedded-binutils-master-2018q4~107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed2df75c51551cf9b44f7d94179849565ab5bdda;p=platform%2Fupstream%2Fbinutils.git Fix spurious semicolon in sparc-linux-nat.c 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. --- 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); } };