btrace, frame: fix crash in get_frame_type
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ef8818097fb10ad8102b1032a8c7709912deae18..e06fc3cc681e50cbc16e94179a39239674099cc8 100644 (file)
@@ -1,3 +1,16 @@
+2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * frame.h (skip_tailcall_frames): Update comment.
+       * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL
+       if only artificial frames are found.  Update comment.
+       (frame_unwind_caller_id): Handle NULL return.
+       (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that
+       skip_artificial_frames does not return NULL.
+       (frame_pop): Add an error if only tailcall frames are found.
+       * infcmd.c (finish_command): Move skip_tailcall_frames call into
+       forward-execution case.  Add an error if only tailcall frames are
+       found.
+
 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
 
        * stack.c (frame_info): Check frame_unwind_caller_id.
This page took 0.02451 seconds and 4 git commands to generate.