* gdbarch.sh (core_xfer_shared_libraries): New.
[deliverable/binutils-gdb.git] / gdb / win32-nat.c
index df83f90e48eb60c364b1034fc07a4dc8b3c1e8a0..7100e359122a8e2a217c1ebd14a516cec5726321 100644 (file)
@@ -2242,23 +2242,6 @@ win32_current_sos (void)
   return start;
 }
 
-static void
-fetch_elf_core_registers (struct regcache *regcache,
-                         char *core_reg_sect,
-                         unsigned core_reg_size,
-                         int which,
-                         CORE_ADDR reg_addr)
-{
-  int r;
-  if (core_reg_size < sizeof (CONTEXT))
-    {
-      error (_("Core file register section too small (%u bytes)."), core_reg_size);
-      return;
-    }
-  for (r = 0; r < gdbarch_num_regs (current_gdbarch); r++)
-    regcache_raw_supply (regcache, r, core_reg_sect + mappings[r]);
-}
-
 static int
 open_symbol_file_object (void *from_ttyp)
 {
@@ -2460,21 +2443,6 @@ win32_win32_thread_alive (ptid_t ptid)
     FALSE : TRUE;
 }
 
-static struct core_fns win32_elf_core_fns =
-{
-  bfd_target_elf_flavour,
-  default_check_format,
-  default_core_sniffer,
-  fetch_elf_core_registers,
-  NULL
-};
-
-void
-_initialize_core_win32 (void)
-{
-  deprecated_add_core_fns (&win32_elf_core_fns);
-}
-
 void
 _initialize_check_for_gdb_ini (void)
 {
This page took 0.0269 seconds and 4 git commands to generate.