fix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile.
authorDavid Taylor <taylor@redhat.com>
Mon, 18 Jan 1999 15:35:10 +0000 (15:35 +0000)
committerDavid Taylor <taylor@redhat.com>
Mon, 18 Jan 1999 15:35:10 +0000 (15:35 +0000)
gdb/ChangeLog
gdb/remote-udi.c

index 3699b7b..58589d1 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jan 18 10:30:51 1999  David Taylor  <taylor@texas.cygnus.com>
+
+       * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
+       udi_ops; delete NULL initializers.
+
 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
index da982ce..6fd277e 100644 (file)
@@ -1621,7 +1621,7 @@ service_HIF(msg)
    The RS/6000 doesn't like "extern" followed by "static"; SunOS
    /bin/cc doesn't like "static" twice.  */
 
-struct target_ops udi_ops ;
+struct target_ops udi_ops;
 
 static void init_udi_ops(void)
 {
@@ -1649,13 +1649,9 @@ To connect using a local connection to the \"tip.exe\" program which is\n\
   udi_ops.to_open =         udi_open;
   udi_ops.to_close =   udi_close;
   udi_ops.to_attach =         udi_attach;
-  udi_run_ops.to_post_attach = NULL;
-  udi_ops.to_require_attach = NULL;
   udi_ops.to_detach =  udi_detach;
-  udi_ops.to_require_detach = NULL;
   udi_ops.to_resume =  udi_resume;
   udi_ops.to_wait  =   udi_wait;
-  udi_ops.to_post_wait = NULL;
   udi_ops.to_fetch_registers  =         udi_fetch_registers;
   udi_ops.to_store_registers  =        udi_store_registers;
   udi_ops.to_prepare_to_store =         udi_prepare_to_store;
@@ -1672,30 +1668,11 @@ To connect using a local connection to the \"tip.exe\" program which is\n\
   udi_ops.to_load  =         udi_load; 
   udi_ops.to_lookup_symbol =         0; 
   udi_ops.to_create_inferior =         udi_create_inferior;
-  udi_ops.to_post_startup_inferior = NULL;
-  udi_ops.to_acknowledge_created_inferior = NULL;
-  udi_ops.to_clone_and_follow_inferior = NULL;
-  udi_ops.to_post_follow_inferior_by_clone = NULL;
-  udi_run_ops.to_insert_fork_catchpoint = NULL;
-  udi_run_ops.to_remove_fork_catchpoint = NULL;
-  udi_run_ops.to_insert_vfork_catchpoint = NULL;
-  udi_run_ops.to_remove_vfork_catchpoint = NULL;
-  udi_ops.to_has_forked = NULL;
-  udi_ops.to_has_vforked = NULL;
-  udi_run_ops.to_can_follow_vfork_prior_to_exec = NULL;
-  udi_ops.to_post_follow_vfork = NULL;
-  udi_run_ops.to_insert_exec_catchpoint = NULL;
-  udi_run_ops.to_remove_exec_catchpoint = NULL;
-  udi_run_ops.to_has_execd = NULL;
-  udi_run_ops.to_reported_exec_events_per_exec_call = NULL;
-  udi_run_ops.to_has_exited = NULL;
   udi_ops.to_mourn_inferior =         udi_mourn;
   udi_ops.to_can_run  =        0;      
   udi_ops.to_notice_signals =  0;      
   udi_ops.to_thread_alive  =   0;      
   udi_ops.to_stop  =         0;
-  udi_ops.to_pid_to_exec_file = NULL;
-  udi_run_ops.to_core_file_to_sym_file = NULL;         
   udi_ops.to_stratum =         process_stratum;
   udi_ops.DONT_USE =   0;              
   udi_ops.to_has_all_memory =         1;