Use accessor for mi_parse::args
authorTom Tromey <tromey@adacore.com>
Mon, 20 Mar 2023 16:42:43 +0000 (10:42 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 23 May 2023 16:09:27 +0000 (10:09 -0600)
commit72654e04dab3d41417c2f422c8825d2b659a66fe
treee6217c852faf72a83c119b591ce6a1bfe0bed4da
parentc55db01a31c84f2223e18cd274203d1c3ccc7844
Use accessor for mi_parse::args

This changes mi_parse::args to be a private member, retrieved via
accessor.  It also changes this member to be a std::string.  This
makes it simpler for a subsequent patch to implement different
behavior for argument parsing.
gdb/mi/mi-cmds.c
gdb/mi/mi-main.c
gdb/mi/mi-parse.c
gdb/mi/mi-parse.h
gdb/python/py-micmd.c