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

Simon Marchi via Gdb-patches
2021-07-08T14:11:54Z

On 2021-07-07 1:58 p.m., Joel Brobecker wrote:
>> 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.
>

Thanks, I took that as an approval, so I pushed the patch to master and
gdb-11-branch (with ChangeLog entry).

Simon