public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd
@ 2017-06-05 12:11 coypu
  2017-06-06 17:49 ` John Baldwin
  0 siblings, 1 reply; 4+ messages in thread
From: coypu @ 2017-06-05 12:11 UTC (permalink / raw)
  To: gdb-patches

---
 gdb/bsd-kvm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 98e24283..f872fc08 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -17,6 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#define _KMEMUSER 1
 #include "defs.h"
 #include "cli/cli-cmds.h"
 #include "command.h"
-- 
2.12.2

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

* Re: [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd
  2017-06-05 12:11 [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd coypu
@ 2017-06-06 17:49 ` John Baldwin
  2017-06-23  2:38   ` coypu
  2017-06-29 15:38   ` coypu
  0 siblings, 2 replies; 4+ messages in thread
From: John Baldwin @ 2017-06-06 17:49 UTC (permalink / raw)
  To: gdb-patches; +Cc: coypu

On Monday, June 05, 2017 12:11:01 PM coypu wrote:
> ---
>  gdb/bsd-kvm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
> index 98e24283..f872fc08 100644
> --- a/gdb/bsd-kvm.c
> +++ b/gdb/bsd-kvm.c
> @@ -17,6 +17,7 @@
>     You should have received a copy of the GNU General Public License
>     along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
>  
> +#define _KMEMUSER 1
>  #include "defs.h"
>  #include "cli/cli-cmds.h"
>  #include "command.h"
> 

This is ok with me.  FreeBSD doesn't use _KMEMUSER for anything, but for
FreeBSD we use an out-of-tree libkvm target instead of this one anyway.

-- 
John Baldwin

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

* Re: [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd
  2017-06-06 17:49 ` John Baldwin
@ 2017-06-23  2:38   ` coypu
  2017-06-29 15:38   ` coypu
  1 sibling, 0 replies; 4+ messages in thread
From: coypu @ 2017-06-23  2:38 UTC (permalink / raw)
  To: gdb-patches

On Tue, Jun 06, 2017 at 10:44:25AM -0700, John Baldwin wrote:
> On Monday, June 05, 2017 12:11:01 PM coypu wrote:
> > ---
> >  gdb/bsd-kvm.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
> > index 98e24283..f872fc08 100644
> > --- a/gdb/bsd-kvm.c
> > +++ b/gdb/bsd-kvm.c
> > @@ -17,6 +17,7 @@
> >     You should have received a copy of the GNU General Public License
> >     along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
> >  
> > +#define _KMEMUSER 1
> >  #include "defs.h"
> >  #include "cli/cli-cmds.h"
> >  #include "command.h"
> > 
> 
> This is ok with me.  FreeBSD doesn't use _KMEMUSER for anything, but for
> FreeBSD we use an out-of-tree libkvm target instead of this one anyway.
> 

Same for this one, if it's ok, can it be committed?
Thanks

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

* Re: [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd
  2017-06-06 17:49 ` John Baldwin
  2017-06-23  2:38   ` coypu
@ 2017-06-29 15:38   ` coypu
  1 sibling, 0 replies; 4+ messages in thread
From: coypu @ 2017-06-29 15:38 UTC (permalink / raw)
  To: John Baldwin; +Cc: gdb-patches

On Tue, Jun 06, 2017 at 10:44:25AM -0700, John Baldwin wrote:
> On Monday, June 05, 2017 12:11:01 PM coypu wrote:
> > ---
> >  gdb/bsd-kvm.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
> > index 98e24283..f872fc08 100644
> > --- a/gdb/bsd-kvm.c
> > +++ b/gdb/bsd-kvm.c
> > @@ -17,6 +17,7 @@
> >     You should have received a copy of the GNU General Public License
> >     along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
> >  
> > +#define _KMEMUSER 1
> >  #include "defs.h"
> >  #include "cli/cli-cmds.h"
> >  #include "command.h"
> > 
> 
> This is ok with me.  FreeBSD doesn't use _KMEMUSER for anything, but for
> FreeBSD we use an out-of-tree libkvm target instead of this one anyway.
> 
> -- 
> John Baldwin

ping?

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

end of thread, other threads:[~2017-06-29 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 12:11 [PATCH 1/1] Need _KMEMUSER for including sys/proc.h on netbsd coypu
2017-06-06 17:49 ` John Baldwin
2017-06-23  2:38   ` coypu
2017-06-29 15:38   ` coypu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).