gdb: refactor make-target-delegates.py's ARGTYPES
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tue, 14 Nov 2023 14:00:49 +0000 (15:00 +0100)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tue, 14 Nov 2023 14:03:51 +0000 (15:03 +0100)
commitc7be5fa993b26d7d398755cac4fad6f05dc19910
treed8a0e68ca6a3ee69298c60a7121b1e68c95eafc3
parent5baaed487bfcee02400cafc7b21a4ef417c65c29
gdb: refactor make-target-delegates.py's ARGTYPES

Refactor the ARGTYPES regular expression in make-target-delegates.py
to eliminate '.*' for better control on what is matched.  Also,
simplify the "E" match group, for which the optional SYMBOL becomes
redundant because that case can be matched by the "T" group.

After applying this patch, running './make-target-delegates.py' does not
change anything in 'target-delegates.c'.

Approved-By: Pedro Alves <pedro@palves.net>
gdb/make-target-delegates.py