GDBserver
Functions
linux-waitpid.c File Reference
#include "common-defs.h"
#include "linux-nat.h"
#include "linux-waitpid.h"
#include "gdb_wait.h"

Go to the source code of this file.

Functions

static void ATTRIBUTE_PRINTF (1, 2)
 
char * status_to_str (int status)
 
int my_waitpid (int pid, int *status, int flags)
 

Function Documentation

◆ ATTRIBUTE_PRINTF()

static void ATTRIBUTE_PRINTF ( ,
 
)
inlinestatic

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

References debug_threads.

◆ my_waitpid()

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

◆ status_to_str()

char* status_to_str ( int  status)

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

References SYSCALL_SIGTRAP, WEXITSTATUS, WIFSIGNALED, WIFSTOPPED, WSTOPSIG, and WTERMSIG.

Referenced by linux_wait_for_event_filtered().