diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-11-26 14:35:03 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-11-26 14:35:11 -0500 |
commit | ed2df75c51551cf9b44f7d94179849565ab5bdda (patch) | |
tree | 5c21ca5f4e0577c03fcb8e52c777c059a119ccae /gdb | |
parent | 24bce9bbe510c9efa36c0f85fb2f8a93ec8b623e (diff) | |
download | gdb-ed2df75c51551cf9b44f7d94179849565ab5bdda.zip gdb-ed2df75c51551cf9b44f7d94179849565ab5bdda.tar.gz gdb-ed2df75c51551cf9b44f7d94179849565ab5bdda.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/sparc-linux-nat.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <simon.marchi@ericsson.com> + + PR gdb/23917 + * sparc-linux-nat.c (sparc_linux_nat_target): Remove extraneous + semicolon. + 2018-11-26 Pedro Alves <palves@redhat.com> * 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); } }; |