aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2013-11-11 19:49:45 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2013-11-11 19:49:45 +0000
commitbc79de95db1005e1cefc18729eca9e9d5f771c91 (patch)
tree0c20455a1659da6d02e8f03df6123ec8278c208e /gdb/python/python.c
parent67dc82bc511e35ef134952014b4deb2fdcf10676 (diff)
downloadgdb-bc79de95db1005e1cefc18729eca9e9d5f771c91.zip
gdb-bc79de95db1005e1cefc18729eca9e9d5f771c91.tar.gz
gdb-bc79de95db1005e1cefc18729eca9e9d5f771c91.tar.bz2
2013-11-11 Phil Muldoon <pmuldoon@redhat.com>
PR python/15629 * NEWS: Add linetable feature. * Makefile.in (SUBDIR_PYTHON_OBS): Add py-linetable entries. * python/py-linetable.c: New file. * python/py-symtab.c (stpy_get_linetable): New function. * python/python-internal.h (symtab_to_linetable_object): Declare. (gdbpy_initialize_linetable): Ditto. * python/python.c (_initialize_python): Call gdbpy_initialize_linetable. 2013-11-11 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-linetable.S: New file. * gdb.python/py-linetable.c: New file. * gdb.python/py-linetable.exp: New file. 2013-11-11 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Symbol Tables In Python): Add linetable method entry. (Line Tables In Python): New node.
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r--gdb/python/python.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 542c2d1..7cdf8a7 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1673,6 +1673,7 @@ message == an error message without a stack will be printed."),
|| gdbpy_initialize_breakpoints () < 0
|| gdbpy_initialize_finishbreakpoints () < 0
|| gdbpy_initialize_lazy_string () < 0
+ || gdbpy_initialize_linetable () < 0
|| gdbpy_initialize_thread () < 0
|| gdbpy_initialize_inferior () < 0
|| gdbpy_initialize_events () < 0