]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/frv/sim-if.c
sim: delete dead current_state globals
[thirdparty/binutils-gdb.git] / sim / frv / sim-if.c
index aab8ff794cfd2bac36a34d4a33c3c96a30d6828f..6bf77fde0aed831249caabaf2961d31e00c44d25 100644 (file)
@@ -30,10 +30,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 static void free_state (SIM_DESC);
 static void print_frv_misc_cpu (SIM_CPU *cpu, int verbose);
-
-/* Records simulator descriptor so utilities like frv_dump_regs can be
-   called from gdb.  */
-SIM_DESC current_state;
 \f
 /* Cover function of sim_state_free to free the cpu buffers as well.  */
 
@@ -175,10 +171,6 @@ sim_open (kind, callback, abfd, argv)
       frv_initialize (cpu, sd);
     }
 
-  /* Store in a global so things like sparc32_dump_regs can be invoked
-     from the gdb command line.  */
-  current_state = sd;
-
   return sd;
 }