Debian Codegraph @

libdebugger/break.h

raw symbols SCIP
1 /*
2 Copyright (C) 2005, 2008, 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/break.h
21 *
22 * \brief debugger command beakpoint routines.
23 */
24
25 #ifndef DBG_BREAK_H
26 #define DBG_BREAK_H
27
28 #include "types.h"
29
30 /*! Opaque type definition for an item in the breakpoint list. */
31 typedef struct breakpoint_node breakpoint_node_t;
32
33 /** Pointers to top of current breakpoint list. */
34 extern breakpoint_node_t *p_breakpoint_top;
35
36 /** Pointers to bottom of current breakpoint list. */
37 extern breakpoint_node_t *p_breakpoint_bottom;
38
39 /** The largest breakpoint number previously given. When a new
40 breakpoint is set it will be i_breakpoints+1. */
41 extern unsigned int i_breakpoints;
42
43 /*! Add "p_target" to the list of breakpoints. Return true if
44 there were no errors
45 */
46 extern bool add_breakpoint (file_t *p_target, unsigned int brkp_mask);
47
48 /*! Remove breakpoint i from the list of breakpoints. Return true if
49 there were no errors. If silent is true, then don't warn about
50 not finding breakpoint at "i".
51 */
52 extern bool remove_breakpoint (unsigned int i, bool silent);
53
54 /*! List breakpoints.*/
55 extern void list_breakpoints (void);
56
57 #endif /* DBG_BREAK_H */