GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Functions | Variables
/tmp/gdb-13.1/gdb/filesystem.h File Reference

Go to the source code of this file.

Macros

#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
 

Macro Definition Documentation

◆ HAS_TARGET_DRIVE_SPEC

#define HAS_TARGET_DRIVE_SPEC (   kind,
 
)
Value:
(((kind) == file_system_kind_dos_based) ? HAS_DOS_DRIVE_SPEC (p) \
: 0)
const char file_system_kind_dos_based[]
Definition: filesystem.c:27

Definition at line 45 of file filesystem.h.

◆ IS_TARGET_ABSOLUTE_PATH

#define IS_TARGET_ABSOLUTE_PATH (   kind,
 
)
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.

◆ IS_TARGET_DIR_SEPARATOR

#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.

Function Documentation

◆ effective_target_file_system_kind()

const char * effective_target_file_system_kind ( void  )

◆ target_lbasename()

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

Definition at line 52 of file filesystem.c.

References file_system_kind_dos_based, and name.

Referenced by solib_find_1().

Variable Documentation

◆ file_system_kind_auto

const char file_system_kind_auto[]
extern

◆ file_system_kind_dos_based

const char file_system_kind_dos_based[]
extern

◆ file_system_kind_unix

const char file_system_kind_unix[]
extern

Definition at line 26 of file filesystem.c.

Referenced by effective_target_file_system_kind().

◆ target_file_system_kind

const char* target_file_system_kind
extern