1 /* 2 Copyright (C) 2005, 2008, 2011 R. Bernstein <rocky@gnu.org> 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 dbg_cmd.h 21 * 22 * \brief GNU Make debugger interface 23 */ 24 25 #ifndef REMAKE_DBG_CMD_H 26 #define REMAKE_DBG_CMD_H 27 #include "../job.h" 28 #include "../buildargv.h" 29 #include "../trace.h" 30 31 extern debug_return_t enter_debugger (target_stack_node_t *p, 32 file_t *p_target, int errcode, 33 debug_enter_reason_t reason); 34 35 extern debug_return_t execute_line (char *psz_line); 36 extern debug_return_t dbg_cmd_help(char *psz_args); 37 extern debug_return_t dbg_cmd_info(char *psz_args); 38 extern debug_return_t dbg_cmd_target(char *psz_args); 39 extern debug_return_t dbg_cmd_show(char *psz_args); 40 extern debug_return_t dbg_cmd_where(char *psz_args); 41 extern debug_return_t dbg_cmd_show_command(const char *psz_args); 42 43 #endif /* DBG_CMD_H*/ 44 /* 45 * Local variables: 46 * c-file-style: "gnu" 47 * indent-tabs-mode: nil 48 * End: 49 */ 50