[PATCH v3 0/3] gas: add command line option to inhibit info messages

Matthieu Longo matthieu.longo@arm.com
Thu Jul 18 16:08:11 GMT 2024


On 2024-07-10 13:17, Jan Beulich wrote:
> On 10.07.2024 13:26, Matthieu Longo wrote:
>> Hi,
>>
>> GAS currently emits information messages for context information along warnings. These extra messages might sometimes pollute the test expectations when checking for error message patterns in stderr output.
>>
>> This patch aims at providing two new flags while preserving the existing behavior if none of the options is provided.
>>    * --info, similar to the existing --warn flag to enable diagnostic information messages (default behavior).
>>    * --no-info, similar to the existing --no-warn flag to disable diagnostic information messages.
>>
>> It also adds the flags to the existing documentation, and command manual.
>>
>> As an example of its benefit, I used the new flag for the system register tests under gas/testsuite/gas/aarch64/sysreg testsuite, and the info message for macro expansion were removed inside the tests expectations.
>>
>> Regression tested on aarch64-none-elf, and no regression found.
>>
>> Ok for binutils-master?
> 
> You keep re-sending patch 1 with this question, when I gave an okay
> there already. Yet I don't think there's a strong need for all parts
> of this series to go in together.
> 
> Jan
Indeed there is no strong reason for patch 1 to be kept together with 
others patches.
I merged it today.
I apologize for this noise.

Matthieu


More information about the Binutils mailing list