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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Marchi via Gdb-patches @ 2020-12-21 19:40 UTC (permalink / raw)
  To: gdb-patches, Thomas Schwinge, thomas, bug-hurd



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

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Samuel Thibault via Gdb-patches @ 2020-12-22 22:39 UTC (permalink / raw)
  To: Simon Marchi; +Cc: bug-hurd, Thomas Schwinge, gdb-patches, thomas

(For the record, I don't have commit access).

Simon Marchi, le lun. 21 déc. 2020 14:40:31 -0500, a ecrit:
> 
> 
> 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
> 

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  2020-12-22 22:39   ` Samuel Thibault via Gdb-patches
@ 2020-12-22 23:24     ` Joshua Branson via Gdb-patches
  2020-12-23  0:09       ` Simon Marchi via Gdb-patches
  0 siblings, 1 reply; 10+ messages in thread
From: Joshua Branson via Gdb-patches @ 2020-12-22 23:24 UTC (permalink / raw)
  To: Simon Marchi; +Cc: bug-hurd, Thomas Schwinge, gdb-patches, thomas


I vote we give Samuel commit access!  His genius deserves to be
recognized.  All in favor, say aye!

--
Joshua Branson
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help

enough other people get what they want." - Zig Ziglar

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Marchi via Gdb-patches @ 2020-12-23  0:09 UTC (permalink / raw)
  To: gdb-patches, Thomas Schwinge, thomas, bug-hurd



On 2020-12-22 6:24 p.m., Joshua Branson wrote:
> 
> I vote we give Samuel commit access!  His genius deserves to be
> recognized.  All in favor, say aye!

Sure.  Samuel, would you like to have push access for GDB?  Do you already have a Sourceware account?

Simon

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Samuel Thibault via Gdb-patches @ 2020-12-23  0:39 UTC (permalink / raw)
  To: Simon Marchi; +Cc: bug-hurd, Thomas Schwinge, gdb-patches, thomas

Simon Marchi, le mar. 22 déc. 2020 19:09:17 -0500, a ecrit:
> Samuel, would you like to have push access for GDB?

That could make things simpler, yes.

> Do you already have a Sourceware account?

Yes, 

ssh://sthibaul@sourceware.org

Samuel

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Marchi via Gdb-patches @ 2020-12-23  3:02 UTC (permalink / raw)
  To: gdb-patches, Thomas Schwinge, thomas, bug-hurd

On 2020-12-22 7:39 p.m., Samuel Thibault wrote:
> Simon Marchi, le mar. 22 déc. 2020 19:09:17 -0500, a ecrit:
>> Samuel, would you like to have push access for GDB?
> 
> That could make things simpler, yes.
> 
>> Do you already have a Sourceware account?
> 
> Yes, 
> 
> ssh://sthibaul@sourceware.org
> 
> Samuel
> 

I've been told you now have push access, give it a try.  The push URL is found here:

https://www.gnu.org/software/gdb/current/

Simon

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Samuel Thibault via Gdb-patches @ 2020-12-23 17:01 UTC (permalink / raw)
  To: Simon Marchi; +Cc: bug-hurd, Thomas Schwinge, gdb-patches, thomas

Hello,

Simon Marchi, le mar. 22 déc. 2020 22:02:40 -0500, a ecrit:
> I've been told you now have push access, give it a try.

Yep it worked, thanks!

Samuel

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Marchi via Gdb-patches @ 2020-12-23 17:07 UTC (permalink / raw)
  To: gdb-patches, Thomas Schwinge, thomas, bug-hurd



On 2020-12-23 12:01 p.m., Samuel Thibault wrote:
> Hello,
> 
> Simon Marchi, le mar. 22 déc. 2020 22:02:40 -0500, a ecrit:
>> I've been told you now have push access, give it a try.
> 
> Yep it worked, thanks!
> 
> Samuel
> 

Nice!  Please also commit the ChangeLog entry to the correct
ChangeLog file.

Also, you can add yourself to gdb/MAINTAINERS.

Simon

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

* Re: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS OFF TOPIC PRAISE
  2020-12-23 17:07               ` Simon Marchi via Gdb-patches
@ 2020-12-23 17:22                 ` Samuel Thibault via Gdb-patches
  0 siblings, 0 replies; 10+ messages in thread
From: Samuel Thibault via Gdb-patches @ 2020-12-23 17:22 UTC (permalink / raw)
  To: Simon Marchi; +Cc: bug-hurd, Thomas Schwinge, gdb-patches, thomas

Simon Marchi, le mer. 23 déc. 2020 12:07:21 -0500, a ecrit:
> Please also commit the ChangeLog entry to the correct
> ChangeLog file.

Ah, right.

> Also, you can add yourself to gdb/MAINTAINERS.

Done so.

Samuel

^ 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