From f9a5267ce6d01af13abd9c330761749c751d1760 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 18 Jan 1999 15:35:10 +0000 Subject: [PATCH] fix hp merge (2.66.4 branch) changes to remote-udi.c -- it didn't compile. --- gdb/ChangeLog | 5 +++++ gdb/remote-udi.c | 25 +------------------------ 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3699b7b352e..58589d126f2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 18 10:30:51 1999 David Taylor + + * 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 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index da982ce51bb..6fd277e0fcc 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -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; -- 2.30.2