diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-12-21 16:01:07 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-12-23 16:56:36 +0000 |
commit | dca11eb872c96f86388890b3750e450cc2a68700 (patch) | |
tree | 22c7ad5bcb3f7e8c158abb1d04b600b16163c06b | |
parent | 9423103f5486c7fc4666f2a35becff9196fbc632 (diff) | |
download | gdb-dca11eb872c96f86388890b3750e450cc2a68700.zip gdb-dca11eb872c96f86388890b3750e450cc2a68700.tar.gz gdb-dca11eb872c96f86388890b3750e450cc2a68700.tar.bz2 |
hurd: Fix getting VM_MIN/MAX_ADDRESS
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>.
-rw-r--r-- | gdb/gnu-nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 1693ce0..6f290be 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> |