This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Define HAVE_NATIVE_GCORE_HOST on NetBSD
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Kamil Rytarowski <n54 at gmx dot com>
- Cc: jhb at FreeBSD dot org, gdb-patches at sourceware dot org
- Date: Tue, 5 Sep 2017 17:19:01 -0700
- Subject: Re: [PATCH] Define HAVE_NATIVE_GCORE_HOST on NetBSD
- Authentication-results: sourceware.org; auth=none
- References: <20170905210323.28834-1-n54@gmx.com>
> NetBSD ships with gcore(1) againg since the version 2.0.
> This tool is functional and actively maintained.
>
> gdb/ChangeLog
> 2017-09-05 Kamil Rytarowski <n54@gmx.com>
>
> * configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD.
Makes sense. Approved.
> ---
> gdb/ChangeLog | 4 ++++
> gdb/configure.nat | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index 6d2eae58bc..f89ab8b06d 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,3 +1,7 @@
> +2017-09-05 Kamil Rytarowski <n54@gmx.com>
> +
> + * configure.nat: Define HAVE_NATIVE_GCORE_HOST on NetBSD.
> +
> 2017-09-05 Philippe Waroquiers <philippe.waroquiers@skynet.be>
>
> * objfiles.c (get_objfile_bfd_data): Remove useless obstack_init
> diff --git a/gdb/configure.nat b/gdb/configure.nat
> index b1dda30852..c14a5b8f0b 100644
> --- a/gdb/configure.nat
> +++ b/gdb/configure.nat
> @@ -68,6 +68,7 @@ case ${gdb_host} in
> ;;
> nbsd*)
> NATDEPFILES='fork-child.o fork-inferior.o inf-ptrace.o'
> + HAVE_NATIVE_GCORE_HOST=1
> ;;
> obsd*)
> NATDEPFILES='fork-child.o fork-inferior.o inf-ptrace.o'
> --
> 2.14.1
--
Joel