[PATCH 1/2] cleanup: Add missing feature/ XML files to Makefile
Simon Marchi
simark@simark.ca
Tue Sep 13 13:57:55 GMT 2022
>> When typing just "make" in features/, I get this diff:
>>
>> diff --git a/gdb/regformats/or1k-linux.dat b/gdb/regformats/or1k-linux.dat
>> index 7b64646fc65a..9a9f8a640188 100644
>> --- a/gdb/regformats/or1k-linux.dat
>> +++ b/gdb/regformats/or1k-linux.dat
>> @@ -2,7 +2,7 @@
>> # Generated from: or1k-linux.xml
>> name:or1k_linux
>> xmltarget:or1k-linux.xml
>> -expedite:r1,npc
>> +expedite:
>> 32:r0
>> 32:r1
>> 32:r2
>>
>> Probably a separate fix, but I think we need
>>
>> or1k-expedite = r1,npc
>>
>> in features/Makefile
>
> Just typing "make" in features does nothing here. Am I neglecting to do
> something?
Oh, probably because the date of the .dat files is >= the date of the
.xml files. If you do
$ touch *.xml */*.xml
in features and then "make", it will re-generate them.
Simon
More information about the Gdb-patches
mailing list