2021-10-05 15:20:25 -04:00
|
|
|
Taken from upstream.
|
2020-06-26 13:11:29 -04:00
|
|
|
|
2021-10-05 15:20:25 -04:00
|
|
|
From dca11eb872c96f86388890b3750e450cc2a68700 Mon Sep 17 00:00:00 2001
|
2020-06-26 13:11:29 -04:00
|
|
|
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
|
2021-10-05 15:20:25 -04:00
|
|
|
Date: Mon, 21 Dec 2020 16:01:07 +0000
|
|
|
|
Subject: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS
|
2020-06-26 13:11:29 -04:00
|
|
|
|
2021-10-05 15:20:25 -04:00
|
|
|
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.
|
2020-06-26 13:11:29 -04:00
|
|
|
|
|
|
|
gdb/ChangeLog:
|
|
|
|
|
2021-10-05 15:20:25 -04:00
|
|
|
* gnu-nat.c: Include <mach/vm_param.h>.
|
2020-06-26 13:11:29 -04:00
|
|
|
---
|
2021-10-05 15:20:25 -04:00
|
|
|
gdb/gnu-nat.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
2020-06-26 13:11:29 -04:00
|
|
|
|
|
|
|
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
|
2021-10-05 15:20:25 -04:00
|
|
|
index 1693ce0c43d..6f290be0d51 100644
|
2020-06-26 13:11:29 -04:00
|
|
|
--- a/gdb/gnu-nat.c
|
|
|
|
+++ b/gdb/gnu-nat.c
|
2021-10-05 15:20:25 -04:00
|
|
|
@@ -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>
|