1*a45ae5f8SJohn Marino /* Definitions for virtual tail call frames unwinder for GDB. 2*a45ae5f8SJohn Marino 3*a45ae5f8SJohn Marino Copyright (C) 2010-2012 Free Software Foundation, Inc. 4*a45ae5f8SJohn Marino 5*a45ae5f8SJohn Marino This file is part of GDB. 6*a45ae5f8SJohn Marino 7*a45ae5f8SJohn Marino This program is free software; you can redistribute it and/or modify 8*a45ae5f8SJohn Marino it under the terms of the GNU General Public License as published by 9*a45ae5f8SJohn Marino the Free Software Foundation; either version 3 of the License, or 10*a45ae5f8SJohn Marino (at your option) any later version. 11*a45ae5f8SJohn Marino 12*a45ae5f8SJohn Marino This program is distributed in the hope that it will be useful, 13*a45ae5f8SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 14*a45ae5f8SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*a45ae5f8SJohn Marino GNU General Public License for more details. 16*a45ae5f8SJohn Marino 17*a45ae5f8SJohn Marino You should have received a copy of the GNU General Public License 18*a45ae5f8SJohn Marino along with this program. If not, see <http://www.gnu.org/licenses/>. */ 19*a45ae5f8SJohn Marino 20*a45ae5f8SJohn Marino #ifndef DWARF2_FRAME_TAILCALL_H 21*a45ae5f8SJohn Marino #define DWARF2_FRAME_TAILCALL_H 1 22*a45ae5f8SJohn Marino 23*a45ae5f8SJohn Marino struct frame_info; 24*a45ae5f8SJohn Marino struct frame_unwind; 25*a45ae5f8SJohn Marino 26*a45ae5f8SJohn Marino /* The tail call frame unwinder. */ 27*a45ae5f8SJohn Marino 28*a45ae5f8SJohn Marino extern void 29*a45ae5f8SJohn Marino dwarf2_tailcall_sniffer_first (struct frame_info *this_frame, 30*a45ae5f8SJohn Marino void **tailcall_cachep, 31*a45ae5f8SJohn Marino const LONGEST *entry_cfa_sp_offsetp); 32*a45ae5f8SJohn Marino 33*a45ae5f8SJohn Marino extern struct value * 34*a45ae5f8SJohn Marino dwarf2_tailcall_prev_register_first (struct frame_info *this_frame, 35*a45ae5f8SJohn Marino void **tailcall_cachep, int regnum); 36*a45ae5f8SJohn Marino 37*a45ae5f8SJohn Marino extern const struct frame_unwind dwarf2_tailcall_frame_unwind; 38*a45ae5f8SJohn Marino 39*a45ae5f8SJohn Marino #endif /* !DWARF2_FRAME_TAILCALL_H */ 40