diff options
author | Doug Evans <dje@google.com> | 2011-09-08 19:51:27 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-09-08 19:51:27 +0000 |
commit | 63d97a2024d3c47cc780e99ac5f15f1e23c54a6c (patch) | |
tree | e81f4e6ceebb51239de7f9db8d303293c4c4bd20 /gdb/python/python-internal.h | |
parent | 8dbb9eb3c6a29de5b64fadc558c7a15507d6be63 (diff) | |
download | gdb-63d97a2024d3c47cc780e99ac5f15f1e23c54a6c.zip gdb-63d97a2024d3c47cc780e99ac5f15f1e23c54a6c.tar.gz gdb-63d97a2024d3c47cc780e99ac5f15f1e23c54a6c.tar.bz2 |
* py-cmd.c: Some minor formatting fixes.
(gdbpy_parse_command_name): Rename text arg to name, make const.
All callers updated.
* python-internal.h (gdbpy_parse_command_name): Update.
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r-- | gdb/python/python-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 996b23b..4209c28 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -154,7 +154,7 @@ PyObject *gdbpy_selected_thread (PyObject *self, PyObject *args); PyObject *gdbpy_string_to_argv (PyObject *self, PyObject *args); PyObject *gdbpy_parameter (PyObject *self, PyObject *args); PyObject *gdbpy_parameter_value (enum var_types type, void *var); -char *gdbpy_parse_command_name (char *text, +char *gdbpy_parse_command_name (const char *name, struct cmd_list_element ***base_list, struct cmd_list_element **start_list); |