gdb/
[deliverable/binutils-gdb.git] / gdb / arm-symbian-tdep.c
index 32f65f40a50aeccc8dc3ed894188dbd376f8050d..c1ac92b47738b9c0feb6899db2973488b92a8ecb 100644 (file)
@@ -1,7 +1,6 @@
 /* ARM Symbian OS target support.
 
-   Copyright (C) 2008, 2009, 2010
-   Free Software Foundation, Inc.
+   Copyright (C) 2008-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -30,7 +29,7 @@
 /* If PC is in a DLL import stub, return the address of the `real'
    function belonging to the stub.  */
 
-CORE_ADDR
+static CORE_ADDR
 arm_symbian_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
 {
   struct gdbarch *gdbarch;
@@ -78,6 +77,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);
 }
 
@@ -86,7 +89,7 @@ arm_symbian_init_abi (struct gdbarch_info info,
 static enum gdb_osabi
 arm_symbian_osabi_sniffer (bfd *abfd)
 {
-  Elf_Internal_Phdr *phdrs, **segments;
+  Elf_Internal_Phdr *phdrs;
   long phdrs_size;
   int num_phdrs, i;
 
@@ -118,6 +121,9 @@ arm_symbian_osabi_sniffer (bfd *abfd)
   return GDB_OSABI_SYMBIAN;
 }
 
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_arm_symbian_tdep;
+
 void
 _initialize_arm_symbian_tdep (void)
 {
This page took 0.0240629999999999 seconds and 4 git commands to generate.