slyfox at inbox dot ru
2018-11-24 07:35:59 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23917
Bug ID: 23917
Summary: gdb-8.2 fails build on sparc: sparc-linux-nat.c:39:3:
error: expected unqualified-id before ‘{’ token
Product: gdb
Version: 8.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: slyfox at inbox dot ru
Target Milestone: ---
Created attachment 11412
--> https://sourceware.org/bugzilla/attachment.cgi?id=11412&action=edit
gdb-8.2-sparc-fix-syntax.patch
Originally reported by Rolf Eike Beer at https://bugs.gentoo.org/671726
Seems to be a minor syntax error. This is enough to fix:
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -36,5 +36,5 @@ public:
{ 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); }
};
Bug ID: 23917
Summary: gdb-8.2 fails build on sparc: sparc-linux-nat.c:39:3:
error: expected unqualified-id before ‘{’ token
Product: gdb
Version: 8.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: slyfox at inbox dot ru
Target Milestone: ---
Created attachment 11412
--> https://sourceware.org/bugzilla/attachment.cgi?id=11412&action=edit
gdb-8.2-sparc-fix-syntax.patch
Originally reported by Rolf Eike Beer at https://bugs.gentoo.org/671726
Seems to be a minor syntax error. This is enough to fix:
--- a/gdb/sparc-linux-nat.c
+++ b/gdb/sparc-linux-nat.c
@@ -36,5 +36,5 @@ public:
{ 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); }
};
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.