aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-evtregistry.c2
-rw-r--r--gdb/python/py-instruction.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-evtregistry.c b/gdb/python/py-evtregistry.c
index cf3505e..4ea2bcc 100644
--- a/gdb/python/py-evtregistry.c
+++ b/gdb/python/py-evtregistry.c
@@ -112,7 +112,7 @@ gdbpy_initialize_eventregistry (void)
(PyObject *) &eventregistry_object_type);
}
-/* Retern the number of listeners currently connected to this
+/* Return the number of listeners currently connected to this
registry. */
int
diff --git a/gdb/python/py-instruction.h b/gdb/python/py-instruction.h
index d0d5306..2e5a9ac 100644
--- a/gdb/python/py-instruction.h
+++ b/gdb/python/py-instruction.h
@@ -24,7 +24,7 @@
/* Python type object for the abstract gdb.Instruction class. This class
contains getters for four elements: "pc" (int), "data" (buffer), "decode"
- (str) and "size" (int) that must be overriden by sub classes. */
+ (str) and "size" (int) that must be overridden by sub classes. */
extern PyTypeObject py_insn_type;
#endif /* PYTHON_PY_INSTRUCTION_H */