This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 8/8] Python: Introduce gdb.Instruction class
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 (齐尧)