[PATCH 0/7] Make gdbarch.sh shellcheck-clean

Tom Tromey tom@tromey.com
Wed Apr 29 21:08:32 GMT 2020


>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> I ran shellcheck on gdbarch.sh and addressed all the warnings.  It
Simon> didn't catch anything serious, but I think it's good to have it clean
Simon> anyway, so we can catch potential problems in future changes we do to
Simon> this file.

These all seemed fine to me.

I'd like to see gdbarch.sh eventually go away entirely.
Most of it could be ordinary C++ code.  I don't have a concrete plan for
this though.  Mostly I've been reluctant to do it due to the amount of
reindentation that will probably be involved, though I guess maybe  I
could write an emacs lisp script to handle this.

Tom


More information about the Gdb-patches mailing list