55 return dos_lbasename (
name);
57 return unix_lbasename (
name);
68The assumed file system kind for target reported file names \
69is \"%s\" (currently \"%s\").\n"),
74The assumed file system kind for target reported file names \
87Set assumed file system kind for target reported file names."), _(
"\
88Show assumed file system kind for target reported file names."),
90If `unix', target file names (e.g., loaded shared library file names)\n\
91starting the forward slash (`/') character are considered absolute,\n\
92and the directory separator character is the forward slash (`/'). If\n\
93`dos-based', target file names starting with a drive letter followed\n\
94by a colon (e.g., `c:'), are also considered absolute, and the\n\
95backslash (`\\') is also considered a directory separator. Set to\n\
96`auto' (which is the default), to let GDB decide, based on its\n\
97knowledge of the target operating system."),
struct gdbarch * target_gdbarch(void)
struct cmd_list_element * showlist
struct cmd_list_element * setlist
set_show_commands add_setshow_enum_cmd(const char *name, enum command_class theclass, const char *const *enumlist, const char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list)
const char *const target_file_system_kinds[]
static void show_target_file_system_kind_command(struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
const char file_system_kind_unix[]
const char * target_lbasename(const char *kind, const char *name)
const char file_system_kind_dos_based[]
const char * effective_target_file_system_kind(void)
const char file_system_kind_auto[]
const char * target_file_system_kind
void _initialize_filesystem()
int gdbarch_has_dos_based_file_system(struct gdbarch *gdbarch)
void gdb_printf(struct ui_file *stream, const char *format,...)