This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] gdbserver: Suffix generated C files with -generated
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Tue, 4 Apr 2017 11:44:39 +0100
- Subject: Re: [PATCH v2] gdbserver: Suffix generated C files with -generated
- Authentication-results: sourceware.org; auth=none
- References: <f2389355-1418-eed4-5a82-248448cad755@redhat.com> <20170331145554.26349-1-simon.marchi@ericsson.com> <38db6e08-ed78-59ce-a514-03398fe5fe70@redhat.com> <3038cd35b397eeafa1f8f0447630fa8e@polymtl.ca> <10b63a1c35681aac4f5683f16549ec60@polymtl.ca> <4de294ed1d439274043f4fdb02689664@polymtl.ca>
On 03/31/2017 08:39 PM, Simon Marchi wrote:
>> Do you have any better idea?
Not off hand.
> Huh, I've just noticed that gdb does this already:
>
> rm -f $(DEPDIR)/*
>
> which translates to:
>
> rm -f .deps/*
>
> So I guess it'd make sense to do it as well in gdbserver.
Go for it.
Thanks,
Pedro Alves