From: Andrew Cagney Date: Fri, 6 Jun 1997 03:02:51 +0000 (+0000) Subject: sim_kill() isn't used. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa02a0b0f20fda6255513c75f0673b240814b66c;p=binutils-gdb.git sim_kill() isn't used. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 765f61a049c..98b9cb3139a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,9 +1,31 @@ +Fri Jun 6 13:01:55 1997 Andrew Cagney + + * remote-sim.c (gdbsim_kill): Remove call to depreciated function + sim_kill. + +Thu Jun 5 11:39:03 1997 Ian Lance Taylor + + Fixes for recent correction to PE format: + * coffread.c (pe_file): New static variable. + (struct find_targ_sec_arg): Change resultp from pointer to int to + pointer to pointer to asection. + (find_targ_sec): Just store the section in args->resultp, not the + section offset value. + (cs_to_section): Compute the section offset value from the + section. + (cs_section_address): New static function. + (coff_symfile_read): Set pe_file. + (read_one_sym): When reading a PE file, adjust the symbol value to + include the section address if the symbol has an appropriate + storage class. + start-sanitize-r3900 Tue Jun 3 16:24:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) + * configure.tgt: add mipsr3900-elf target * config/mips/r3900.mt r3900l.mt tm-r3900.h tm-r3900l.h: ditto -end-sanitize-r3900 +end-sanitize-r3900 start-sanitize-gdbtk Tue Jun 3 15:46:51 1997 Tom Tromey diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 7574cbe7668..7c210092d70 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -392,7 +392,8 @@ gdbsim_kill () if (sr_get_debug ()) printf_filtered ("gdbsim_kill\n"); - sim_kill (gdbsim_desc); /* close fd's, remove mappings, etc. */ + /* There is no need to `kill' running simulator - the simulator is + not running */ inferior_pid = 0; } diff --git a/include/ChangeLog b/include/ChangeLog index 95a32dce390..da2de803b0c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,11 @@ +Fri Jun 6 13:02:33 1997 Andrew Cagney + + * remote-sim.h (sim_kill): Mark as depreciated. + +Fri May 23 13:43:41 1997 Fred Fish + + * bfdlink.h (struct bfd_link_info): Add task_link member. + Thu May 22 11:32:49 1997 Andrew Cagney * remote-sim.h: Review documentation. Clarify restrictions on diff --git a/include/remote-sim.h b/include/remote-sim.h index 1578ed9cf9d..369f4fa94ab 100644 --- a/include/remote-sim.h +++ b/include/remote-sim.h @@ -101,12 +101,6 @@ SIM_RC sim_load PARAMS ((SIM_DESC sd, char *prog, struct _bfd *abfd, int from_tt SIM_RC sim_create_inferior PARAMS ((SIM_DESC sd, char **argv, char **env)); -/* Kill the running program. - This may involve closing any open files and deleting any mmap'd areas. */ - -void sim_kill PARAMS ((SIM_DESC sd)); - - /* Read LENGTH bytes of the simulated program's memory and store in BUF. Result is number of bytes read, or zero if error. */ @@ -173,6 +167,7 @@ void sim_do_command PARAMS ((SIM_DESC sd, char *cmd)); /* Provide simulator with a default (global) host_callback_struct. THIS PROCEDURE IS IS DEPRECIATED. + GDB and NRUN do not use this interface. This procedure does not take a SIM_DESC argument as it is used before sim_open. */ @@ -181,6 +176,7 @@ void sim_set_callbacks PARAMS ((struct host_callback_struct *)); /* Set the size of the simulator memory array. THIS PROCEDURE IS IS DEPRECIATED. + GDB and NRUN do not use this interface. This procedure does not take a SIM_DESC argument as it is used before sim_open. */ @@ -189,6 +185,7 @@ void sim_size PARAMS ((int i)); /* Run a simulation with tracing enabled. THIS PROCEDURE IS IS DEPRECIATED. + GDB and NRUN do not use this interface. This procedure does not take a SIM_DESC argument as it is used before sim_open. */ @@ -197,9 +194,20 @@ int sim_trace PARAMS ((SIM_DESC sd)); /* Configure the size of the profile buffer. THIS PROCEDURE IS IS DEPRECIATED. + GDB and NRUN do not use this interface. This procedure does not take a SIM_DESC argument as it is used before sim_open. */ void sim_set_profile_size PARAMS ((int n)); + +/* Kill the running program. + THIS PROCEDURE IS IS DEPRECIATED. + GDB and NRUN do not use this interface. + This procedure will be replaced as part of the introduction of + multi-cpu simulators. */ + +void sim_kill PARAMS ((SIM_DESC sd)); + + #endif /* !defined (REMOTE_SIM_H) */