remake  4.3+dbg-1.5
trace.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2004-2005, 2007-2008, 2020 Rocky Bernstein <rocky@gnu.org>
3 
4 This file is part of GNU Make (remake variant).
5 
6 GNU Make is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10 
11 GNU Make is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with GNU Make; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20 
26 #ifndef REMAKE_TRACE_H
27 #define REMAKE_TRACE_H
28 
29 #include "types.h"
30 #include "filedef.h"
31 
32 typedef enum {
45 
46 typedef enum
47  {
60 
61 typedef enum {
69 
79 typedef struct target_stack_node
80  {
85 
88 
93  file_t *p_target);
94 
96 extern void trace_pop_target (target_stack_node_t *p);
97 
99 typedef struct floc_stack_node
100  {
104 
107 
110 extern void trace_push_floc (gmk_floc *p_floc);
111 
113 extern void trace_pop_floc (void);
114 
116 extern void dbg_cmd_info_targets(info_target_output_mask_t output_mask);
117 
119 extern void dbg_cmd_info_tasks();
120 
121 #endif /*REMAKE_TRACE_H*/
Definition: trace.h:38
file_t * p_target
Definition: trace.h:81
info_target_output_mask_t
Definition: trace.h:61
Miscellaneous types.
void trace_pop_floc(void)
struct floc_stack_node * p_parent
Definition: trace.h:102
void trace_push_floc(gmk_floc *p_floc)
Definition: trace.h:67
void dbg_cmd_info_targets(info_target_output_mask_t output_mask)
Definition: command/info.h:179
Definition: trace.h:49
void trace_pop_target(target_stack_node_t *p)
Definition: trace.h:63
floc_stack_node_t * p_stack_floc_top
Definition: trace.h:53
void dbg_cmd_info_tasks()
Definition: command/info.h:194
file_t * p_shared_target
Definition: trace.h:82
Definition: trace.h:48
debug_return_t
Definition: trace.h:32
Definition: trace.h:64
Definition: trace.h:35
Definition: trace.h:62
Definition: trace.h:40
debug_enter_reason_t
Definition: trace.h:46
Definition: trace.h:50
Definition: trace.h:57
struct floc_stack_node floc_stack_node_t
Node for an item in the "include Makefile" stack.
Definition: trace.h:66
Node for an item in the target call stack.
Definition: trace.h:79
gmk_floc * p_floc
Definition: trace.h:101
Definition: gnuremake.h:23
target_stack_node_t * trace_push_target(target_stack_node_t *p, file_t *p_target)
Definition: trace.h:42
Definition: trace.h:54
Definition: trace.h:33
Node for an item in the "include Makefile" stack.
Definition: trace.h:99
Definition: trace.h:55
struct target_stack_node * p_parent
Definition: trace.h:83
Definition: trace.h:56
struct target_stack_node target_stack_node_t
Node for an item in the target call stack.
target_stack_node_t * p_stack_top
Definition: trace.h:52
Definition: trace.h:51
Definition: trace.h:65
Definition: trace.h:58
Definition: filedef.h:34