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.
This commit is contained in:
Ciro Santilli
2015-08-04 09:03:15 -07:00
committed by Joel Brobecker
parent 7e27a9d5f2
commit 4efd80aa8a
3 changed files with 17 additions and 11 deletions

View File

@ -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 */
};