commit | f76d800be844dd2aa4aa8f189a3ace16c5e931bc | [log] [tgz] |
---|---|---|
author | Jan Vrany <jan.vrany@labware.com> | Tue Jun 23 14:45:38 2020 +0100 |
committer | Andrew Burgess <aburgess@redhat.com> | Tue Dec 14 10:56:30 2021 +0000 |
tree | 4d57013d217a8cac2a84641735848821cb0fc420 | |
parent | 3524a83e5950576a807134dde6c180211219e655 [diff] |
gdb/mi: use std::map for MI commands in mi-cmds.c This changes the hashmap used in mi-cmds.c from a custom structure to std::map. Not only is replacing a custom container with a standard one an improvement, but using std::map will make it easier to dynamically add commands; which is something that is planned for a later series, where we will allow MI commands to be implemented in Python. There should be no user visible changes after this commit.