Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111846618
D45550.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
702 B
Referenced Files
None
Subscribers
None
D45550.diff
View Options
diff --git a/usr.sbin/bhyve/gdb.c b/usr.sbin/bhyve/gdb.c
--- a/usr.sbin/bhyve/gdb.c
+++ b/usr.sbin/bhyve/gdb.c
@@ -166,10 +166,10 @@
struct gdb_reg {
enum vm_reg_name id;
int size;
-}
+};
#ifdef __amd64__
-static const gdb_regset[] = {
+static const struct gdb_reg gdb_regset[] = {
{ .id = VM_REG_GUEST_RAX, .size = 8 },
{ .id = VM_REG_GUEST_RBX, .size = 8 },
{ .id = VM_REG_GUEST_RCX, .size = 8 },
@@ -212,7 +212,7 @@
{ .id = VM_REG_GUEST_EFER, .size = 8 },
};
#else /* __aarch64__ */
-static const gdb_regset[] = {
+static const struct gdb_reg gdb_regset[] = {
{ .id = VM_REG_GUEST_X0, .size = 8 },
{ .id = VM_REG_GUEST_X1, .size = 8 },
{ .id = VM_REG_GUEST_X2, .size = 8 },
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 5:45 AM (12 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17067673
Default Alt Text
D45550.diff (702 B)
Attached To
Mode
D45550: bhyve: Fix the build with gcc
Attached
Detach File
Event Timeline
Log In to Comment