sim_kill() isn't used.

This commit is contained in:
Andrew Cagney 1997-06-06 03:02:51 +00:00
parent 84e8cd0fcf
commit aa02a0b0f2
4 changed files with 47 additions and 8 deletions

View file

@ -1,9 +1,31 @@
Fri Jun 6 13:01:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
* remote-sim.c (gdbsim_kill): Remove call to depreciated function
sim_kill.
Thu Jun 5 11:39:03 1997 Ian Lance Taylor <ian@cygnus.com>
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 start-sanitize-r3900
Tue Jun 3 16:24:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) Tue Jun 3 16:24:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* configure.tgt: add mipsr3900-elf target * configure.tgt: add mipsr3900-elf target
* config/mips/r3900.mt r3900l.mt tm-r3900.h tm-r3900l.h: ditto * config/mips/r3900.mt r3900l.mt tm-r3900.h tm-r3900l.h: ditto
end-sanitize-r3900
end-sanitize-r3900
start-sanitize-gdbtk start-sanitize-gdbtk
Tue Jun 3 15:46:51 1997 Tom Tromey <tromey@cygnus.com> Tue Jun 3 15:46:51 1997 Tom Tromey <tromey@cygnus.com>

View file

@ -392,7 +392,8 @@ gdbsim_kill ()
if (sr_get_debug ()) if (sr_get_debug ())
printf_filtered ("gdbsim_kill\n"); 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; inferior_pid = 0;
} }

View file

@ -1,3 +1,11 @@
Fri Jun 6 13:02:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
* remote-sim.h (sim_kill): Mark as depreciated.
Fri May 23 13:43:41 1997 Fred Fish <fnf@cygnus.com>
* bfdlink.h (struct bfd_link_info): Add task_link member.
Thu May 22 11:32:49 1997 Andrew Cagney <cagney@b1.cygnus.com> Thu May 22 11:32:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
* remote-sim.h: Review documentation. Clarify restrictions on * remote-sim.h: Review documentation. Clarify restrictions on

View file

@ -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)); 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. /* Read LENGTH bytes of the simulated program's memory and store in BUF.
Result is number of bytes read, or zero if error. */ 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. /* Provide simulator with a default (global) host_callback_struct.
THIS PROCEDURE IS IS DEPRECIATED. 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 This procedure does not take a SIM_DESC argument as it is
used before sim_open. */ 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. /* Set the size of the simulator memory array.
THIS PROCEDURE IS IS DEPRECIATED. 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 This procedure does not take a SIM_DESC argument as it is
used before sim_open. */ used before sim_open. */
@ -189,6 +185,7 @@ void sim_size PARAMS ((int i));
/* Run a simulation with tracing enabled. /* Run a simulation with tracing enabled.
THIS PROCEDURE IS IS DEPRECIATED. 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 This procedure does not take a SIM_DESC argument as it is
used before sim_open. */ used before sim_open. */
@ -197,9 +194,20 @@ int sim_trace PARAMS ((SIM_DESC sd));
/* Configure the size of the profile buffer. /* Configure the size of the profile buffer.
THIS PROCEDURE IS IS DEPRECIATED. 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 This procedure does not take a SIM_DESC argument as it is
used before sim_open. */ used before sim_open. */
void sim_set_profile_size PARAMS ((int n)); 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) */ #endif /* !defined (REMOTE_SIM_H) */