GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/darwin-nat-info.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "value.h"
#include "gdbcmd.h"
#include "inferior.h"
#include <sys/sysctl.h>
#include "darwin-nat.h"
#include <mach/thread_info.h>
#include <mach/thread_act.h>
#include <mach/task.h>
#include <mach/vm_map.h>
#include <mach/mach_port.h>
#include <mach/mach_init.h>
#include <mach/mach_vm.h>

Go to the source code of this file.

Defines

#define CHECK_ARGS(what, args)
#define PRINT_FIELD(structure, field)   printf_unfiltered(_(#field":\t%#lx\n"), (unsigned long) (structure)->field)
#define PRINT_TV_FIELD(structure, field)
#define task_self   mach_task_self
#define task_by_unix_pid   task_for_pid
#define port_name_array_t   mach_port_array_t
#define port_type_array_t   mach_port_array_t

Functions

void _initialize_darwin_info_commands (void)

Variables

initialize_file_ftype _initialize_darwin_info_commands

Define Documentation

#define CHECK_ARGS (   what,
  args 
)
Value:
do { \
  if ((NULL == args) || ((args[0] != '0') && (args[1] != 'x'))) \
    error(_("%s must be specified with 0x..."), what);          \
} while (0)

Definition at line 50 of file darwin-nat-info.c.

#define port_name_array_t   mach_port_array_t

Definition at line 65 of file darwin-nat-info.c.

#define port_type_array_t   mach_port_array_t

Definition at line 66 of file darwin-nat-info.c.

#define PRINT_FIELD (   structure,
  field 
)    printf_unfiltered(_(#field":\t%#lx\n"), (unsigned long) (structure)->field)

Definition at line 55 of file darwin-nat-info.c.

#define PRINT_TV_FIELD (   structure,
  field 
)
Value:
printf_unfiltered(_(#field":\t%u.%06u sec\n"),  \
  (unsigned) (structure)->field.seconds, \
  (unsigned) (structure)->field.microseconds)

Definition at line 58 of file darwin-nat-info.c.

#define task_by_unix_pid   task_for_pid

Definition at line 64 of file darwin-nat-info.c.

#define task_self   mach_task_self

Definition at line 63 of file darwin-nat-info.c.


Function Documentation

Definition at line 849 of file darwin-nat-info.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines