Skip to content
Commit 6a65998a authored by Luis Machado's avatar Luis Machado
Browse files

Convert tdesc's expedite_regs to a string vector



Right now the list of expedited registers is stored as an array of char *,
with a nullptr element at the end to signal its last element.

Convert expedite_regs to a std::vector of std::string so it is easier to
manage the elements and the storage is handled automatically.

Eventually we might want to convert all the target functions so they pass a
std::vector of std::string as well. Or maybe expose an interface that target can
use to add expedited registers on-by-one depending on the target description
discovery needs, as opposed to just a static list of char *.

Reviewed-by: default avatarThiago Jung Bauermann <thiago.bauermann@linaro.org>
Approved-By: default avatarTom Tromey <tom@tromey.com>
parent ca65640f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment