aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-wince-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-04-24 13:12:56 +0000
committerPedro Alves <palves@redhat.com>2010-04-24 13:12:56 +0000
commitab38a727c990476872ac4995792fc0d38d922d7f (patch)
tree9005fd3fefc5d3ab38663bba14fcebf841041a64 /gdb/arm-wince-tdep.c
parent9a83a5533e5c082e2555505e7290456e4eb6afcb (diff)
downloadgdb-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/arm-wince-tdep.c')
-rw-r--r--gdb/arm-wince-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/arm-wince-tdep.c b/gdb/arm-wince-tdep.c
index 7a76463..1bf28f8 100644
--- a/gdb/arm-wince-tdep.c
+++ b/gdb/arm-wince-tdep.c
@@ -139,6 +139,10 @@ arm_wince_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
/* Skip call to __gccmain that gcc places in main. */
set_gdbarch_skip_main_prologue (gdbarch, arm_wince_skip_main_prologue);
+
+ /* Canonical paths on this target look like `\Windows\coredll.dll',
+ for example. */
+ set_gdbarch_has_dos_based_file_system (gdbarch, 1);
}
static enum gdb_osabi