mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
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:

committed by
Joel Brobecker

parent
7e27a9d5f2
commit
4efd80aa8a
@ -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 */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user