sim_kill() isn't used.
authorAndrew Cagney <cagney@redhat.com>
Fri, 6 Jun 1997 03:02:51 +0000 (03:02 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 6 Jun 1997 03:02:51 +0000 (03:02 +0000)
gdb/ChangeLog
gdb/remote-sim.c
include/ChangeLog
include/remote-sim.h

index 765f61a..98b9cb3 100644 (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
 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  <tromey@cygnus.com>
 
index 7574cbe..7c21009 100644 (file)
@@ -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;
 }
 
index 95a32dc..da2de80 100644 (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>
 
        * remote-sim.h: Review documentation.  Clarify restrictions on
index 1578ed9..369f4fa 100644 (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));
 
 
-/* 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) */