[PATCH v2 8/8] Python: Introduce gdb.Instruction class
Yao Qi
qiyaoltc@gmail.com
Fri Apr 21 18:10:00 GMT 2017
Tim Wiederhake <tim.wiederhake@intel.com> writes:
> 2017-04-21 Tim Wiederhake <tim.wiederhake@intel.com>
>
> gdb/ChangeLog:
>
> * Makefile.in (SUBDIR_PYTHON_OBS): Add py-instruction.o.
> (SUBDIR_PYTHON_SRCS): Add py-instruction.c.
> * python/py-instruction.c, python/py-instruction.h: New file.
> * python/py-record.c: Add py-instruction.h include.
> (gdbpy_initialize_record): Make gdb.Instruction a super class of
> gdb.RecordInstruction.
> * python/python-internal.h: Add gdbpy_initialize_instruction
> declaration.
> * python/python.c (do_start_initialization): Add
> gdbpy_initialize_instruction.
Patch is good to me.
--
Yao (齐尧)
More information about the Gdb-patches
mailing list