GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
break-catch-fork.c File Reference
#include "defs.h"
#include "annotate.h"
#include "arch-utils.h"
#include "breakpoint.h"
#include "cli/cli-decode.h"
#include "inferior.h"
#include "mi/mi-common.h"
#include "target.h"
#include "valprint.h"

Go to the source code of this file.

Classes

struct  fork_catchpoint
 

Enumerations

enum  catch_fork_kind { catch_fork_temporary , catch_vfork_temporary , catch_fork_permanent , catch_vfork_permanent }
 

Functions

static void create_fork_vfork_event_catchpoint (struct gdbarch *gdbarch, bool temp, const char *cond_string, bool is_vfork)
 
static void catch_fork_command_1 (const char *arg, int from_tty, struct cmd_list_element *command)
 
void _initialize_break_catch_fork ()
 

Enumeration Type Documentation

◆ catch_fork_kind

Enumerator
catch_fork_temporary 
catch_vfork_temporary 
catch_fork_permanent 
catch_vfork_permanent 

Definition at line 196 of file break-catch-fork.c.

Function Documentation

◆ _initialize_break_catch_fork()

void _initialize_break_catch_fork ( )

Definition at line 248 of file break-catch-fork.c.

Referenced by initialize_all_files().

◆ catch_fork_command_1()

static void catch_fork_command_1 ( const char * arg,
int from_tty,
struct cmd_list_element * command )
static

◆ create_fork_vfork_event_catchpoint()

static void create_fork_vfork_event_catchpoint ( struct gdbarch * gdbarch,
bool temp,
const char * cond_string,
bool is_vfork )
static

Definition at line 186 of file break-catch-fork.c.

References install_breakpoint().

Referenced by catch_fork_command_1().