]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/python/py-cmd.c
Add add_cmd function overloads
[thirdparty/binutils-gdb.git] / gdb / python / py-cmd.c
index 2a7c613f18fc0d218f7bf4647b1912053107ff7c..d969b12157313d12658ad6ff82f38d7b286414e4 100644 (file)
@@ -612,7 +612,7 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kw)
                                pfx_name, allow_unknown, cmd_list);
        }
       else
-       cmd = add_cmd (cmd_name, (enum command_class) cmdtype, NULL,
+       cmd = add_cmd (cmd_name, (enum command_class) cmdtype,
                       docstring, cmd_list);
 
       /* There appears to be no API to set this.  */