remake  4.3+dbg-1.5
Typedefs | Functions | Variables
break.h File Reference
#include "types.h"

Go to the source code of this file.

Typedefs

typedef struct breakpoint_node breakpoint_node_t
 

Functions

bool add_breakpoint (file_t *p_target, unsigned int brkp_mask)
 
bool remove_breakpoint (unsigned int i, bool silent)
 
void list_breakpoints (void)
 

Variables

breakpoint_node_tp_breakpoint_top
 
breakpoint_node_tp_breakpoint_bottom
 
unsigned int i_breakpoints
 

Typedef Documentation

◆ breakpoint_node_t

typedef struct breakpoint_node breakpoint_node_t

Opaque type definition for an item in the breakpoint list.

Function Documentation

◆ add_breakpoint()

bool add_breakpoint ( file_t p_target,
unsigned int  brkp_mask 
)

Add "p_target" to the list of breakpoints. Return true if there were no errors

◆ list_breakpoints()

void list_breakpoints ( void  )

List breakpoints.

Referenced by dbg_cmd_info().

◆ remove_breakpoint()

bool remove_breakpoint ( unsigned int  i,
bool  silent 
)

Remove breakpoint i from the list of breakpoints. Return true if there were no errors. If silent is true, then don't warn about not finding breakpoint at "i".

Variable Documentation

◆ i_breakpoints

unsigned int i_breakpoints

The largest breakpoint number previously given. When a new breakpoint is set it will be i_breakpoints+1.

◆ p_breakpoint_bottom

breakpoint_node_t* p_breakpoint_bottom

Pointers to bottom of current breakpoint list.

◆ p_breakpoint_top

breakpoint_node_t* p_breakpoint_top

Pointers to top of current breakpoint list.