aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTim Wiederhake <tim.wiederhake@intel.com>2017-05-02 11:35:54 +0200
committerTim Wiederhake <tim.wiederhake@intel.com>2017-05-02 11:35:54 +0200
commitd050f7d7f474c7e3ba26902a9cbb185910921a11 (patch)
tree68ee8305e83ce6d0cfcf17b91454d98693e01ecd /gdb/python/python.c
parent14f819c8c5f7d080e5eea9256f0ec7453aac750e (diff)
downloadbinutils-d050f7d7f474c7e3ba26902a9cbb185910921a11.zip
binutils-d050f7d7f474c7e3ba26902a9cbb185910921a11.tar.gz
binutils-d050f7d7f474c7e3ba26902a9cbb185910921a11.tar.bz2
Python: Introduce gdb.Instruction class
This adds a generic instruction class to Python and has gdb.RecordInstruction inherit from it.
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 7e0c507..be92f36 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -1626,6 +1626,7 @@ do_start_initialization ()
|| gdbpy_initialize_values () < 0
|| gdbpy_initialize_frames () < 0
|| gdbpy_initialize_commands () < 0
+ || gdbpy_initialize_instruction () < 0
|| gdbpy_initialize_record () < 0
|| gdbpy_initialize_btrace () < 0
|| gdbpy_initialize_symbols () < 0