bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS


From: Samuel Thibault
Subject: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS
Date: Mon, 21 Dec 2020 18:59:10 +0100
User-agent: NeoMutt/20170609 (1.8.3)

gnu-nat.c was getting the inclusion of vm_param.h only by luck. We
need to explicitly include it to be sure to get the definitions of
VM_MIN/MAX_ADDRESS.

gdb/ChangeLog:

        * gnu-nat.c: Include <mach/vm_param.h>.

diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 1693ce0c43..6f290be0d5 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -32,6 +32,7 @@ extern "C"
 #include <mach/message.h>
 #include <mach/notify.h>
 #include <mach/vm_attributes.h>
+#include <mach/vm_param.h>
 
 #include <hurd.h>
 #include <hurd/interrupt.h>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]