From 4e746bb68947abd2f64ced0dcf5a00021571e45d Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Wed, 15 Feb 2017 08:08:17 +0100 Subject: [PATCH] Add missing ChangeLog entries. This adds the missing ChangeLog entries for the "Python bindings" patch series. --- gdb/ChangeLog | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ gdb/doc/ChangeLog | 4 +++ gdb/testsuite/ChangeLog | 5 ++++ 3 files changed, 88 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2cd6ac9..c979d8c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,82 @@ +2017-02-14 Tim Wiederhake + + * NEWS: Add record Python bindings entry. + +2017-02-14 Tim Wiederhake + + * Makefile.in (SUBDIR_PYTHON_OBS): Add py-record-btrace.o, + py-record-full.o. + (SUBDIR_PYTHON_SRCS): Add py-record-btrace.c, py-record-full.c. + * python/py-record-btrace.c, python/py-record-btrace.h, + python/py-record-full.c, python/py-record-full.h: New file. + * python/py-record.c: Add include for py-record-btrace.h and + py-record-full.h. + (recpy_method, recpy_format, recpy_goto, recpy_replay_position, + recpy_instruction_history, recpy_function_call_history, recpy_begin, + recpy_end): Use functions from py-record-btrace.c and py-record-full.c. + * python/python-internal.h (PyInt_FromSsize_t, PyInt_AsSsize_t): + New definition. + (gdbpy_initialize_btrace): New export. + * python/python.c (_initialize_python): Add gdbpy_initialize_btrace. + +2017-02-14 Tim Wiederhake + + * Makefile.in (SUBDIR_PYTHON_OBS): Add python/py-record.o. + (SUBDIR_PYTHON_SRCS): Add python/py-record.c. + * python/py-record.c: New file. + * python/python-internal.h (gdbpy_start_recording, + gdbpy_current_recording, gdpy_stop_recording, + gdbpy_initialize_record): New export. + * python/python.c (_initialize_python): Add gdbpy_initialize_record. + (python_GdbMethods): Add gdbpy_start_recording, + gdbpy_current_recording and gdbpy_stop_recording. + +2017-02-14 Tim Wiederhake + + * record-btrace.c (record_btrace_record_method): New function. + (init_record_btrace_ops): Initialize to_record_method. + * record-full.c (record_full_record_method): New function. + (init_record_full_ops, init_record_full_core_ops): Add + record_full_record_method. + * record.h (enum record_method): New enum. + * target-debug.h (target_debug_print_enum_record_method: New define. + * target-delegates.c: Regenerate. + * target.c (target_record_method): New function. + * target.h: Include record.h. + (struct target_ops) : New field. + (target_record_method): New export. + +2017-02-14 Tim Wiederhake + + * record.h (record_start, record_stop): New export. + * record.c (record_start, record_stop): New function. + +2017-02-14 Tim Wiederhake + + * btrace.c (btrace_fetch): Copy function call segments pointer + into a vector. + (btrace_clear): Clear the vector. + (btrace_find_insn_by_number): Use binary search to find the correct + function call segment. + * btrace.h (brace_fun_p): New typedef. + (struct btrace_thread_info) : New field. + +2017-02-14 Tim Wiederhake + + * record-btrace.c (btrace_ui_out_decode_error): Move most of it ... + * btrace.c (btrace_decode_error): ... here. New function. + * btrace.h (btrace_decode_error): New export. + +2017-02-14 Tim Wiederhake + + * btrace.c (ftrace_call_num_insn, btrace_insn_get_error): New function. + (ftrace_new_function, btrace_insn_number, btrace_insn_cmp, + btrace_find_insn_by_number): Remove special case for gaps. + * btrace.h (btrace_insn_get_error): New export. + (btrace_insn_number, btrace_find_insn_by_number): Adjust comment. + * record-btrace.c (btrace_insn_history): Print number for gaps. + (record_btrace_info, record_btrace_goto): Handle gaps. + 2017-02-14 Tom Tromey PR python/13598: diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0b6139d..0ef313f 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2017-02-14 Tim Wiederhake + + * python.texi (Recordings In Python): New section. + 2017-02-14 Tom Tromey PR python/13598: diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a67a69c..7b58506 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-02-14 Tim Wiederhake + + * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp, + gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file. + 2017-02-14 Tom Tromey PR python/13598: -- 2.7.4