Re: spurious change regenerating gdb/config.in?

John Baldwin
2016-10-19T03:23:09Z

On Wednesday, October 19, 2016 01:09:53 AM Pedro Alves wrote:
> If I run autoheader on the gdb/ dir, I see this spurious
> change come out:
>
> diff --git c/gdb/config.in w/gdb/config.in
> index c82a5b4..3790d10 100644
> --- c/gdb/config.in
> +++ w/gdb/config.in
> @@ -453,12 +453,12 @@
> /* Define to 1 if your system has struct lwp. */
> #undef HAVE_STRUCT_LWP
>
> -/* Define to 1 if `struct ptrace_lwpinfo' is a member of `pl_tdname'. */
> -#undef HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME
> -
> /* Define to 1 if `struct ptrace_lwpinfo' is a member of `pl_syscall_code'. */
> #undef HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE
>
> +/* Define to 1 if `struct ptrace_lwpinfo' is a member of `pl_tdname'. */
> +#undef HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME
> +
> /* Define to 1 if your system has struct reg in <machine/reg.h>. */
> #undef HAVE_STRUCT_REG
>
>
> This is with pristine FSF autoconf 2.64. I suspect this is
> just because the config.in in master was generated by some
> other autoconf version. To confirm, does anyone else
> see this?

I don't see this, but feel free to fix. It is likely my fault somehow as I
added the associated check. I had used a pristine FSF autoconf (built and
installed to a custom prefix to avoid it using any other autoconf), so I'm
not sure why it is different.

--
John Baldwin