]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/build] Cleanup gdb/features/feature_to_c.sh
authorTom de Vries <tdevries@suse.de>
Sat, 15 Jun 2024 06:10:44 +0000 (08:10 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 15 Jun 2024 06:10:44 +0000 (08:10 +0200)
commit97033da5070ba90ecc1ebb2a4659e129f17709bf
tree90bf6d89a7540ed90ee390957ffaaf56c83fdd9e
parent750fc33e4eb049a57cfd3594ee8e51677eb3368a
[gdb/build] Cleanup gdb/features/feature_to_c.sh

Clean up script gdb/features/feature_to_c.sh by:
- fixing shellcheck warnings,
- moving an embedded awk script out of the file, reducing the amount of
  escaping in the awk script, making it more readable and maintainable, and
- adding emacs / vi settings for local tab size 2 (copied from ./ltmain.sh).

Tested on x86_64-linux.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/features/feature_to_c.awk [new file with mode: 0644]
gdb/features/feature_to_c.sh