Re: [PATCH v3 3/3] Add native target for FreeBSD/mips.

Eli Zaretskii
2017-01-03T19:15:33Z

> From: John Baldwin <jhb@FreeBSD.org>
> Date: Tue, 3 Jan 2017 10:43:41 -0800
>
> This supports the o32 and n64 ABIs.
>
> gdb/ChangeLog:
>
> * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
> * NEWS: Mention new FreeBSD/mips native configuration.
> * config/mips/fbsd.mh: New file.
> * configure.host: Add mips*-*-freebsd*.
> * mips-fbsd-nat.c: New file.
> ---
> gdb/ChangeLog | 8 +++
> gdb/Makefile.in | 1 +
> gdb/NEWS | 5 ++
> gdb/config/mips/fbsd.mh | 3 ++
> gdb/configure.host | 1 +
> gdb/mips-fbsd-nat.c | 136 ++++++++++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 154 insertions(+)
> create mode 100644 gdb/config/mips/fbsd.mh
> create mode 100644 gdb/mips-fbsd-nat.c
>
> diff --git a/gdb/ChangeLog b/gdb/ChangeLog
> index dea01e7025..a8caa9bf9d 100644
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,5 +1,13 @@
> 2017-01-03 John Baldwin <jhb@FreeBSD.org>
>
> + * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
> + * NEWS: Mention new FreeBSD/mips native configuration.
> + * config/mips/fbsd.mh: New file.
> + * configure.host: Add mips*-*-freebsd*.
> + * mips-fbsd-nat.c: New file.
> +
> +2017-01-03 John Baldwin <jhb@FreeBSD.org>
> +
> * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
> (ALLDEPFILES): Add mips-fbsd-tdep.c.
> * NEWS: Mention new FreeBSD/mips target.
> diff --git a/gdb/Makefile.in b/gdb/Makefile.in
> index f20b97347a..f5f15c23c1 100644
> --- a/gdb/Makefile.in
> +++ b/gdb/Makefile.in
> @@ -2541,6 +2541,7 @@ ALLDEPFILES = \
> microblaze-linux-tdep.c \
> microblaze-tdep.c \
> mingw-hdep.c \
> + mips-fbsd-nat.c \
> mips-fbsd-tdep.c \
> mips-linux-nat.c \
> mips-linux-tdep.c \
> diff --git a/gdb/NEWS b/gdb/NEWS
> index f7fe9aeb76..b9768159cd 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -47,6 +47,11 @@
> end
> end
>
> +* New native configurations
> +
> +FreeBSD/mips mips*-*-freebsd
> +
> +
> * New targets
>
> Synopsys ARC arc*-*-elf32

OK for the NEWS part.

Thanks.