GDBserver
Loading...
Searching...
No Matches
Functions
linux-waitpid.c File Reference
#include "gdbsupport/common-defs.h"
#include "linux-nat.h"
#include "linux-waitpid.h"
#include "gdbsupport/gdb_wait.h"
#include "gdbsupport/eintr.h"

Go to the source code of this file.

Functions

std::string status_to_str (int status)
 
int my_waitpid (int pid, int *status, int flags)
 

Function Documentation

◆ my_waitpid()

int my_waitpid ( int  pid,
int *  status,
int  flags 
)

Definition at line 53 of file linux-waitpid.c.

Referenced by kill_child(), and linux_check_ptrace_features().

◆ status_to_str()

std::string status_to_str ( int  status)

Definition at line 30 of file linux-waitpid.c.

References SYSCALL_SIGTRAP.