frame: add skip_tailcall_frames
authorMarkus Metzger <markus.t.metzger@intel.com>
Fri, 5 Feb 2016 08:32:53 +0000 (09:32 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 12 Feb 2016 08:44:42 +0000 (09:44 +0100)
commit2f3ef606b91298855e9ea13ae0e0316c23f06c9b
treeb8a03927519de2b858f1dd3db151a29e0326a769
parent95c00d15cbd7234382513975af72d21c395c82c0
frame: add skip_tailcall_frames

Add a new function skip_tailcall_frames to skip TAILCALL_FRAME frames.

gdb/
* frame.h (skip_tailcall_frames): New.
* frame.c (skip_tailcall_frames): New.
(frame_pop): Call skip_tailcall_frames.
* infcmd.c (finish_command): Call skip_tailcall_frames.
gdb/ChangeLog
gdb/frame.c
gdb/frame.h
gdb/infcmd.c