Re: [PATCH] gdbserver: Suffix generated C files with -generated

Pedro Alves
2017-03-31T12:24:01Z

Hi Simon,

On 03/30/2017 04:31 AM, Simon Marchi wrote:

>> @@ -8252,7 +8252,7 @@ $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1"
>> >>confdefs.h
>> fi
>>
>> if test "$srv_xmlfiles" != ""; then
>> - srv_xmlbuiltin="xml-builtin.o"
>> + srv_xmlbuiltin="xml-builtin-generated.o"
>
> Hmm actually we don't need to rename this, the other .o files are not
> named -generated. You can forget changes to configure/configure.ac (I
> removed them locally).

I'm confused on what the result will be. The patch had this in Makefile.in,
for example:

- version.o \
+ version-generated.o \

Can you post the updated patch?

Thanks,
Pedro Alves