* win32-nat.c (open_symbol_file_object): New function.
authorChristopher Faylor <me+cygwin@cgf.cx>
Mon, 10 Apr 2006 21:43:45 +0000 (21:43 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Mon, 10 Apr 2006 21:43:45 +0000 (21:43 +0000)
(in_dynsym_resolve_code): Ditto.
(init_win32_ops): Fill in fields which ought not to be NULL.

gdb/ChangeLog
gdb/win32-nat.c
gdb/windows-nat.c

index 20eeab2fce2a5c11667cb8e5961c78f91fc3a88d..4cffd0bfa2597b3580ea928d6a31e6b92d630c83 100644 (file)
@@ -1,3 +1,9 @@
+2006-04-10  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (open_symbol_file_object): New function.
+       (in_dynsym_resolve_code): Ditto.
+       (init_win32_ops): Fill in fields which ought not to be NULL.
+
 2006-04-10  Christopher Faylor  <cgf@timesys.com>
 
        * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
index cbafa96d34c9d4513dea14146e85c39a9bb0ac47..abbf4a357023d7c6d24d775a60702b38188f582e 100644 (file)
@@ -2345,6 +2345,18 @@ fetch_elf_core_registers (char *core_reg_sect,
     regcache_raw_supply (current_regcache, r, core_reg_sect + mappings[r]);
 }
 
+static int
+open_symbol_file_object (void *from_ttyp)
+{
+  return 0;
+}
+
+static int
+in_dynsym_resolve_code (CORE_ADDR pc)
+{
+  return 0;
+}
+
 static void
 init_win32_ops (void)
 {
@@ -2392,8 +2404,8 @@ init_win32_ops (void)
   win32_so_ops.solib_create_inferior_hook = win32_solib_create_inferior_hook;
   win32_so_ops.special_symbol_handling = win32_special_symbol_handling;
   win32_so_ops.current_sos = win32_current_sos;
-  win32_so_ops.open_symbol_file_object = NULL;
-  win32_so_ops.in_dynsym_resolve_code = NULL;
+  win32_so_ops.open_symbol_file_object = open_symbol_file_object;
+  win32_so_ops.in_dynsym_resolve_code = in_dynsym_resolve_code;
 
   /* FIXME: Don't do this here.  *_gdbarch_init() should set so_ops. */
   current_target_so_ops = &win32_so_ops;
index cbafa96d34c9d4513dea14146e85c39a9bb0ac47..abbf4a357023d7c6d24d775a60702b38188f582e 100644 (file)
@@ -2345,6 +2345,18 @@ fetch_elf_core_registers (char *core_reg_sect,
     regcache_raw_supply (current_regcache, r, core_reg_sect + mappings[r]);
 }
 
+static int
+open_symbol_file_object (void *from_ttyp)
+{
+  return 0;
+}
+
+static int
+in_dynsym_resolve_code (CORE_ADDR pc)
+{
+  return 0;
+}
+
 static void
 init_win32_ops (void)
 {
@@ -2392,8 +2404,8 @@ init_win32_ops (void)
   win32_so_ops.solib_create_inferior_hook = win32_solib_create_inferior_hook;
   win32_so_ops.special_symbol_handling = win32_special_symbol_handling;
   win32_so_ops.current_sos = win32_current_sos;
-  win32_so_ops.open_symbol_file_object = NULL;
-  win32_so_ops.in_dynsym_resolve_code = NULL;
+  win32_so_ops.open_symbol_file_object = open_symbol_file_object;
+  win32_so_ops.in_dynsym_resolve_code = in_dynsym_resolve_code;
 
   /* FIXME: Don't do this here.  *_gdbarch_init() should set so_ops. */
   current_target_so_ops = &win32_so_ops;