aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTim Wiederhake <tim.wiederhake@intel.com>2017-02-15 08:08:17 +0100
committerTim Wiederhake <tim.wiederhake@intel.com>2017-02-15 08:15:56 +0100
commit4e746bb68947abd2f64ced0dcf5a00021571e45d (patch)
tree8b5c4ac74edd8df3103929e429e9a9a371107752 /gdb
parent186907941a65e5654883175c04f4e4f0bf662456 (diff)
downloadgdb-4e746bb68947abd2f64ced0dcf5a00021571e45d.zip
gdb-4e746bb68947abd2f64ced0dcf5a00021571e45d.tar.gz
gdb-4e746bb68947abd2f64ced0dcf5a00021571e45d.tar.bz2
Add missing ChangeLog entries.
This adds the missing ChangeLog entries for the "Python bindings" patch series.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog79
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/testsuite/ChangeLog5
3 files changed, 88 insertions, 0 deletions
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 <tim.wiederhake@intel.com>
+
+ * NEWS: Add record Python bindings entry.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * 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 <tim.wiederhake@intel.com>
+
+ * 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 <tim.wiederhake@intel.com>
+
+ * 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) <to_record_method>: New field.
+ (target_record_method): New export.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * record.h (record_start, record_stop): New export.
+ * record.c (record_start, record_stop): New function.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * 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) <functions>: New field.
+
+2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
+
+ * 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 <tim.wiederhake@intel.com>
+
+ * 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 <tom@tromey.com>
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 <tim.wiederhake@intel.com>
+
+ * python.texi (Recordings In Python): New section.
+
2017-02-14 Tom Tromey <tom@tromey.com>
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 <tim.wiederhake@intel.com>
+
+ * 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 <tom@tromey.com>
PR python/13598: