From d59b6f6c38a3e9c229dae40bd6c668be47fe8e48 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 17 May 2010 21:23:25 +0000 Subject: 2010-05-17 Michael Snyder * python/py-auto-load.c: White space. * python/py-block.c: White space. * python/py-breakpoint.c: White space. * python/py-cmd.c: White space. * python/py-function.c: White space. * python/py-lazy-string.c: White space. * python/py-objfile.c: White space. * python/py-param.c: White space. * python/py-prettyprint.c: White space. * python/py-progspace.c: White space. * python/py-symtab.c: White space. * python/python.c: White space. * python/py-type.c: White space. * python/py-utils.c: White space. * python/py-value.c: White space. --- gdb/python/py-function.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/python/py-function.c') diff --git a/gdb/python/py-function.c b/gdb/python/py-function.c index 7286d64621..f09c6b41c5 100644 --- a/gdb/python/py-function.c +++ b/gdb/python/py-function.c @@ -38,6 +38,7 @@ convert_values_to_python (int argc, struct value **argv) { int i; PyObject *result = PyTuple_New (argc); + for (i = 0; i < argc; ++i) { PyObject *elt = value_to_value_object (argv[i]); @@ -103,6 +104,7 @@ static int fnpy_init (PyObject *self, PyObject *args, PyObject *kwds) { char *name, *docstring = NULL; + if (! PyArg_ParseTuple (args, "s", &name)) return -1; Py_INCREF (self); -- cgit v1.2.3