[PATCH] sim: common: modernize gennltvals.sh

Simon Marchi simon.marchi@polymtl.ca
Mon Jan 18 14:04:42 GMT 2021


On 2021-01-17 5:10 a.m., Mike Frysinger via Gdb-patches wrote:
> It's not 1996 anymore, so stop writing shell code like it is, and
> rewrite it with modern POSIX shell standards.  This makes it much
> more user friendly.
> 
> Then regenerate the file with latest newlib sources to verify.
> 
> 	* Makefile.in (headers): Change args to gennltvals.sh.
> 	* gennltvals.sh: Rewrite from scratch.
> 	* gentvals.sh: Delete.
> 	* nltvals.def: Regen.

I suggest running shellcheck on the file an fixing what it complains about.

Simon


More information about the Gdb-patches mailing list