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