diff options
author | Pedro Alves <palves@redhat.com> | 2010-04-24 13:12:56 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-04-24 13:12:56 +0000 |
commit | ab38a727c990476872ac4995792fc0d38d922d7f (patch) | |
tree | 9005fd3fefc5d3ab38663bba14fcebf841041a64 /gdb/gdbarch.h | |
parent | 9a83a5533e5c082e2555505e7290456e4eb6afcb (diff) | |
download | gdb-ab38a727c990476872ac4995792fc0d38d922d7f.zip gdb-ab38a727c990476872ac4995792fc0d38d922d7f.tar.gz gdb-ab38a727c990476872ac4995792fc0d38d922d7f.tar.bz2 |
* defs.h: Adjust comment.
* filesystem.h, filesystem.c: New files.
* Makefile.in (SFILES): Add filesystem.c.
(COMMON_OBS): Add filesystem.o.
* solib.c (solib_find): Handle DOS-based filesystems. Handle
different target and host path flavours.
* arm-symbian-tdep.c (arm_symbian_init_abi): Set
has_dos_based_file_system on the gdbarch.
* arm-wince-tdep.c (arm_wince_init_abi): Ditto.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Ditto.
* i386-tdep.c (i386_go32_init_abi): Ditto.
* gdbarch.sh (has_dos_based_file_system): New.
* gdbarch.h, gdbarch.c: Regenerate.
* NEWS: Mention improved support for remote targets with DOS-based
filesystems. Mention new `set/show target-file-system-kind'
commands.
gdb/doc/
* gdb.texinfo (Commands to specify files): Describe what how GDB
looks up DOS-based filesystem paths on the system root. Document
the new `set/show target-file-system-kind' commands.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index ec5f9d8..6ccabfc 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -950,6 +950,13 @@ extern void set_gdbarch_auto_wide_charset (struct gdbarch *gdbarch, gdbarch_auto extern const char * gdbarch_solib_symbols_extension (struct gdbarch *gdbarch); extern void set_gdbarch_solib_symbols_extension (struct gdbarch *gdbarch, const char * solib_symbols_extension); +/* If true the target OS has DOS-based file system semantics. That is, + absolute paths include a drive name, and the backslash is considered + a path separator. */ + +extern int gdbarch_has_dos_based_file_system (struct gdbarch *gdbarch); +extern void set_gdbarch_has_dos_based_file_system (struct gdbarch *gdbarch, int has_dos_based_file_system); + /* Definition for an unknown syscall, used basically in error-cases. */ #define UNKNOWN_SYSCALL (-1) |