GDB (xrefs)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/filesystem.h File Reference

Go to the source code of this file.

Defines

#define IS_TARGET_DIR_SEPARATOR(kind, c)
#define IS_TARGET_ABSOLUTE_PATH(kind, p)
#define HAS_TARGET_DRIVE_SPEC(kind, p)

Functions

const char * target_lbasename (const char *kind, const char *name)
const char * effective_target_file_system_kind (void)

Variables

const char file_system_kind_auto []
const char file_system_kind_unix []
const char file_system_kind_dos_based []
const char * target_file_system_kind

Define Documentation

#define HAS_TARGET_DRIVE_SPEC (   kind,
  p 
)
Value:
(((kind) == file_system_kind_dos_based) ? HAS_DOS_DRIVE_SPEC (p) \
   : 0)

Definition at line 45 of file filesystem.h.

Referenced by solib_find().

#define IS_TARGET_ABSOLUTE_PATH (   kind,
  p 
)
Value:
(((kind) == file_system_kind_dos_based) ? IS_DOS_ABSOLUTE_PATH (p) \
   : IS_UNIX_ABSOLUTE_PATH (p))

Definition at line 38 of file filesystem.h.

Referenced by solib_find().

#define IS_TARGET_DIR_SEPARATOR (   kind,
 
)
Value:
(((kind) == file_system_kind_dos_based) ? IS_DOS_DIR_SEPARATOR (c) \
   : IS_UNIX_DIR_SEPARATOR (c))

Definition at line 31 of file filesystem.h.

Referenced by solib_find().


Function Documentation

const char* target_lbasename ( const char *  kind,
const char *  name 
)

Definition at line 52 of file filesystem.c.

References file_system_kind_dos_based.

Referenced by solib_find().


Variable Documentation

Definition at line 27 of file filesystem.c.

Referenced by effective_target_file_system_kind(), solib_find(), and target_lbasename().

Definition at line 26 of file filesystem.c.

Referenced by effective_target_file_system_kind().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines