* target.h (target_ops): Removed to_core_file_to_sym_file vector

function.
* corelow.c (core_ops): Updated for above change.
* gnu-nat.c (core_ops): Likewise.
* inftarg.c (child_ops): Likewise.
* monitor.c (monitor_ops): Likewise.
* ppc-bdm.c (bdm_ppc_ops): Likewise.
* remote-adapt.c (adapt_ops): Likewise.
* remote-bug.c (bug_ops): Likewise.
* remote-e7000.c (e7000_ops): Likewise.
* remote-eb.c (eb_ops): Likewise.
* remote-es.c (es1800_ops, es1800_child_ops): Likewise.
* remote-mm.c (mm_ops): Likewise.
* remote-nindy.c (nindy_ops): Likewise.
* remote-nrom.c (nrom_ops): Likewise.
* remote-os9k.c (rombug_ops): Likewise.
* remote-rdp.c (remote_rdp_ops): Likewise.
* remote-sim.c (gdbsim_ops): Likewise.
* remote-st.c (st2000_ops): Likewise.
* v850ice.c (v850ice_ops): Likewise.
* target.c (cleanup_target): Likewise
(update_current_target): Likewise.
(setup_target_debug): Likewise
(debug_to_core_file_to_sym_file): Removed.

* corefile.c (core_file_command) [HPUXHPPA]: Removed code that
sets symbol file from information obtained from the core file.
* corelow.c (core_file_to_sym_file): Removed.
This commit is contained in:
J.T. Conklin 2001-04-14 19:23:02 +00:00
parent 767e4b0d59
commit 46c6cdcf5e
24 changed files with 37 additions and 132 deletions

View file

@ -503,9 +503,6 @@ cleanup_target (struct target_ops *t)
de_fault (to_pid_to_exec_file,
(char *(*) (int))
return_zero);
de_fault (to_core_file_to_sym_file,
(char *(*) (char *))
return_zero);
de_fault (to_can_async_p,
(int (*) (void))
return_zero);
@ -599,7 +596,6 @@ update_current_target (void)
INHERIT (to_enable_exception_callback, t);
INHERIT (to_get_current_exception_event, t);
INHERIT (to_pid_to_exec_file, t);
INHERIT (to_core_file_to_sym_file, t);
INHERIT (to_stratum, t);
INHERIT (DONT_USE, t);
INHERIT (to_has_all_memory, t);
@ -2873,19 +2869,6 @@ debug_to_pid_to_exec_file (int pid)
return exec_file;
}
static char *
debug_to_core_file_to_sym_file (char *core)
{
char *sym_file;
sym_file = debug_target.to_core_file_to_sym_file (core);
fprintf_unfiltered (gdb_stdlog, "target_core_file_to_sym_file (%s) = %s\n",
core, sym_file);
return sym_file;
}
static void
setup_target_debug (void)
{
@ -2946,7 +2929,6 @@ setup_target_debug (void)
current_target.to_enable_exception_callback = debug_to_enable_exception_callback;
current_target.to_get_current_exception_event = debug_to_get_current_exception_event;
current_target.to_pid_to_exec_file = debug_to_pid_to_exec_file;
current_target.to_core_file_to_sym_file = debug_to_core_file_to_sym_file;
}