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