Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS
@ 2020-12-21 17:59 Samuel Thibault via Gdb-patches
  2020-12-21 19:40 ` Simon Marchi via Gdb-patches
  0 siblings, 1 reply; 10+ messages in thread
From: Samuel Thibault via Gdb-patches @ 2020-12-21 17:59 UTC (permalink / raw)
  To: gdb-patches, Thomas Schwinge, thomas; +Cc: bug-hurd

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>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-12-23 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21 17:59 [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS Samuel Thibault via Gdb-patches
2020-12-21 19:40 ` Simon Marchi via Gdb-patches
2020-12-22 22:39   ` Samuel Thibault via Gdb-patches
2020-12-22 23:24     ` [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE Joshua Branson via Gdb-patches
2020-12-23  0:09       ` Simon Marchi via Gdb-patches
2020-12-23  0:39         ` Samuel Thibault via Gdb-patches
2020-12-23  3:02           ` Simon Marchi via Gdb-patches
2020-12-23 17:01             ` Samuel Thibault via Gdb-patches
2020-12-23 17:07               ` Simon Marchi via Gdb-patches
2020-12-23 17:22                 ` Samuel Thibault via Gdb-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox