From 478e77bf4eed560b37673e0110d40fd9170e4316 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sat, 24 Apr 2010 13:12:49 +0000 Subject: * 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. --- gdb/arm-symbian-tdep.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/arm-symbian-tdep.c') diff --git a/gdb/arm-symbian-tdep.c b/gdb/arm-symbian-tdep.c index 32f65f40a50..8e06852e58a 100644 --- a/gdb/arm-symbian-tdep.c +++ b/gdb/arm-symbian-tdep.c @@ -78,6 +78,10 @@ arm_symbian_init_abi (struct gdbarch_info info, corresponding ELF files on the host's filesystem. */ set_gdbarch_solib_symbols_extension (gdbarch, "sym"); + /* Canonical paths on this target look like `c:\sys\bin\bar.dll', + for example. */ + set_gdbarch_has_dos_based_file_system (gdbarch, 1); + set_solib_ops (gdbarch, &solib_target_so_ops); } -- cgit v1.2.1