aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-20 10:48:50 -0600
committerTom Tromey <tromey@adacore.com>2023-05-23 10:09:27 -0600
commit7df1df795f7c738f33c0e40d99a95cf9876d6f59 (patch)
tree7f6fdc59d2f6d0e2e2050324bbbd04435155354c /gdb/python
parent72654e04dab3d41417c2f422c8825d2b659a66fe (diff)
downloadbinutils-7df1df795f7c738f33c0e40d99a95cf9876d6f59.zip
binutils-7df1df795f7c738f33c0e40d99a95cf9876d6f59.tar.gz
binutils-7df1df795f7c738f33c0e40d99a95cf9876d6f59.tar.bz2
Change mi_parse_argv to a method
This changes mi_parse_argv to be a method of mi_parse. This is just a minor cleanup.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-micmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-micmd.c b/gdb/python/py-micmd.c
index 88d52db..7027210 100644
--- a/gdb/python/py-micmd.c
+++ b/gdb/python/py-micmd.c
@@ -355,7 +355,7 @@ mi_command_py::invoke (struct mi_parse *parse) const
pymicmd_debug_printf ("this = %p, name = %s", this, name ());
- mi_parse_argv (parse->args (), parse);
+ parse->parse_argv ();
if (parse->argv == nullptr)
error (_("Problem parsing arguments: %s %s"), parse->command,