From 4efd80aa8a99adbb38d0719ba56b07c9970793b5 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 4 Aug 2015 09:03:15 -0700 Subject: python: fix Linetable case to LineTable in docstrings and comments The class is called LineTable, not Linetable, as specified by py-linetable.c/gdbpy_initialize_linetable: if (gdb_pymodule_addobject (gdb_module, "LineTable", gdb/ChangeLog: * python/py-linetable.c: Fix case of Linetable to LineTable in docstrings and code comments. * python/py-symtab.c: Same. --- gdb/python/py-symtab.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/python/py-symtab.c') diff --git a/gdb/python/py-symtab.c b/gdb/python/py-symtab.c index 796a7fc..7c428a4 100644 --- a/gdb/python/py-symtab.c +++ b/gdb/python/py-symtab.c @@ -207,8 +207,8 @@ stpy_static_block (PyObject *self, PyObject *args) return block_to_block_object (block, SYMTAB_OBJFILE (symtab)); } -/* Implementation of gdb.Symtab.linetable (self) -> gdb.Linetable. - Returns a gdb.Linetable object corresponding to this symbol +/* Implementation of gdb.Symtab.linetable (self) -> gdb.LineTable. + Returns a gdb.LineTable object corresponding to this symbol table. */ static PyObject * @@ -571,8 +571,8 @@ Return the global block of the symbol table." }, "static_block () -> gdb.Block.\n\ Return the static block of the symbol table." }, { "linetable", stpy_get_linetable, METH_NOARGS, - "linetable () -> gdb.Linetable.\n\ -Return the Linetable associated with this symbol table" }, + "linetable () -> gdb.LineTable.\n\ +Return the LineTable associated with this symbol table" }, {NULL} /* Sentinel */ }; -- cgit v1.1