Introduce "static constructor" for mi_parse
authorTom Tromey <tromey@adacore.com>
Mon, 20 Mar 2023 16:56:55 +0000 (10:56 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 23 May 2023 16:09:27 +0000 (10:09 -0600)
commitfde3f93adb50c9937cd2e1c93561aea2fd167156
treeecf17032c9cacf65b86c6357c46077ca211df68a
parent7df1df795f7c738f33c0e40d99a95cf9876d6f59
Introduce "static constructor" for mi_parse

Change the mi_parse function to be a static method of mi_parse.  This
lets us remove the 'set_args' setter function.
gdb/mi/mi-main.c
gdb/mi/mi-parse.c
gdb/mi/mi-parse.h