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.sh | |
parent | 9a83a5533e5c082e2555505e7290456e4eb6afcb (diff) | |
download | binutils-gdb-ab38a727c990476872ac4995792fc0d38d922d7f.tar.gz |
* 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.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 28851675c51..121ca7c40c7 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -782,6 +782,11 @@ f:const char *:auto_wide_charset:void::default_auto_wide_charset:default_auto_wi # where the names of the files run on the target differ in extension # compared to the names of the files GDB should load for debug info. v:const char *:solib_symbols_extension:::::::pstring (gdbarch->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 directory separator. +v:int:has_dos_based_file_system:::0:0::0 EOF } |