PARAMS removal.
[deliverable/binutils-gdb.git] / gdb / win32-nat.c
index 0a1c4272cf6feeefb272f82039eec894398b1cb1..b493ed33cf572c53cde2eb7013fa392d9d2743c3 100644 (file)
@@ -75,9 +75,9 @@ extern int (*ui_loop_hook) PARAMS ((int signo));
 /* Forward declaration */
 extern struct target_ops child_ops;
 
-static void child_stop PARAMS ((void));
-static int win32_child_thread_alive PARAMS ((int));
-void child_kill_inferior PARAMS ((void));
+static void child_stop (void);
+static int win32_child_thread_alive (int);
+void child_kill_inferior (void);
 
 static int last_sig = 0;       /* Set if a signal was received from the
                                   debugged process */
@@ -558,7 +558,8 @@ handle_load_dll (PTR dummy)
      the offset from 0 of the first byte in an image - because
      of the file header and the section alignment. */
 
-  section_addrs.text_addr = (int) event->lpBaseOfDll + 0x1000;
+  section_addrs.other[0].name = ".text";
+  section_addrs.other[0].addr = (int) event->lpBaseOfDll + 0x1000;
   safe_symbol_file_add (dll_name, 0, &section_addrs, 0, OBJF_SHARED);
   printf_unfiltered ("%x:%s\n", event->lpBaseOfDll, dll_name);
 
This page took 0.038263 seconds and 4 git commands to generate.