bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS


From: Simon Marchi
Subject: Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS
Date: Mon, 21 Dec 2020 14:40:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0


On 2020-12-21 12:59 p.m., Samuel Thibault via Gdb-patches wrote:
> 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>
> 

Thanks, this is ok.

Simon



reply via email to

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