| 1 | /* |
| 2 | Copyright (C) 2005, 2011, 2020 R. Bernstein [email protected] |
| 3 | This file is part of GNU Make (remake variant). |
| 4 | |
| 5 | GNU Make is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by |
| 7 | the Free Software Foundation; either version 2, or (at your option) |
| 8 | any later version. |
| 9 | |
| 10 | GNU Make is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | GNU General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU General Public License |
| 16 | along with GNU Make; see the file COPYING. If not, write to |
| 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 18 | Boston, MA 02111-1307, USA. */ |
| 19 | |
| 20 | /** \file libdebugger/stack.h |
| 21 | * |
| 22 | * \brief debugger command stack routines. |
| 23 | */ |
| 24 | |
| 25 | #ifndef DBG_STACK_H |
| 26 | #define DBG_STACK_H |
| 27 | |
| 28 | #include "trace.h" |
| 29 | |
| 30 | extern int i_stack_pos; |
| 31 | |
| 32 | /** Pointer to current target call stack at the place we are currently |
| 33 | focused on. |
| 34 | */ |
| 35 | extern target_stack_node_t *p_stack; |
| 36 | extern floc_stack_node_t *p_floc_stack; |
| 37 | |
| 38 | extern debug_return_t dbg_adjust_frame(int i_amount, int b_absolute); |
| 39 | |
| 40 | #endif /* DBG_STACK_H */ |