gdb: make-target-delegates.py: add Entry type
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 27 Feb 2023 01:14:02 +0000 (20:14 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 27 Feb 2023 18:28:32 +0000 (13:28 -0500)
commitc6cf3ced973b8fea7d45c0f751cf9724a6a6e5b7
tree162927361610f7cd5477ecb000f07e8376831617
parentdcca01ace7e41c476387aea0ac534d21fa58e35d
gdb: make-target-delegates.py: add Entry type

Add the Entry type and use it in the `entries` map, rather than using an
ad-hoc str -> str map that comes from the re.match.  This will make it
easier to make typing work in a subsequent patch, but it also helps
readers know what attributes exist for entries, which is not clear
currently.

Change-Id: I5b58dee1ed7ae85987b99bd417e641ede718624c
Reviewed-By: Tom Tromey <tom@tromey.com>
Reviewed-By: Andrew Burgess <aburgess@redhat.com>
gdb/make-target-delegates.py