2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
PR python/15579 * python/python.c: Document gdb.execute command in Python help.
This commit is contained in:
parent
1efd76617b
commit
751e7549b0
|
@ -1,3 +1,9 @@
|
||||||
|
2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
|
||||||
|
|
||||||
|
PR python/15579
|
||||||
|
|
||||||
|
* python/python.c: Document gdb.execute command in Python help.
|
||||||
|
|
||||||
2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
|
2013-10-02 Phil Muldoon <pmuldoon@redhat.com>
|
||||||
|
|
||||||
* python/py-frame.c (frame_info_to_frame_object): Use
|
* python/py-frame.c (frame_info_to_frame_object): Use
|
||||||
|
|
|
@ -1825,7 +1825,10 @@ static PyMethodDef GdbMethods[] =
|
||||||
{ "history", gdbpy_history, METH_VARARGS,
|
{ "history", gdbpy_history, METH_VARARGS,
|
||||||
"Get a value from history" },
|
"Get a value from history" },
|
||||||
{ "execute", (PyCFunction) execute_gdb_command, METH_VARARGS | METH_KEYWORDS,
|
{ "execute", (PyCFunction) execute_gdb_command, METH_VARARGS | METH_KEYWORDS,
|
||||||
"Execute a gdb command" },
|
"execute (command [, from_tty] [, to_string]) -> [String]\n\
|
||||||
|
Evaluate command, a string, as a gdb CLI command. Optionally returns\n\
|
||||||
|
a Python String containing the output of the command if to_string is\n\
|
||||||
|
set to True." },
|
||||||
{ "parameter", gdbpy_parameter, METH_VARARGS,
|
{ "parameter", gdbpy_parameter, METH_VARARGS,
|
||||||
"Return a gdb parameter's value" },
|
"Return a gdb parameter's value" },
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue