This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Define HAVE_NATIVE_GCORE_HOST on NetBSD


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]