Re: [gdbadmin@sourceware.org: make-snapshot gdb current failed]

Joel Brobecker
2021-07-07T17:58:28Z

> In the generated gdb/Makefile, I see:
>
> SUBDIRS = doc testsuite data-directory testsuite
>
> So what likely happens is that it tries to run distclean twice in
> testsuite. The second time around, the Makefile in there doesn't exist.
>
> In Makefile.in, it looks like this:
>
> SUBDIRS = doc @subdirs@ data-directory testsuite
>
> So the first testsuite comes from the AC_CONFIG_SUBDIRS macro in
> configure.ac, and the second is hardcoded. The second one should be
> removed. I missed it because it was not added by the patch that removed
> testsuite/configure, it was added later.
>
> I'll write / test / send a patch tomorrow.

Nice find. Thanks Simon.

--
Joel