projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sim: delete dead current_state globals
[deliverable/binutils-gdb.git]
/
sim
/
cris
/
sim-if.c
diff --git
a/sim/cris/sim-if.c
b/sim/cris/sim-if.c
index eba9dc90a7860c33eb93d08520e1e932db2e9401..cf680cf513645f0c2fa4cd9d3d96b49e2d3a27ec 100644
(file)
--- a/
sim/cris/sim-if.c
+++ b/
sim/cris/sim-if.c
@@
-81,10
+81,6
@@
static int cris_program_offset = 0;
enum cris_unknown_syscall_action_type cris_unknown_syscall_action
= CRIS_USYSC_MSG_STOP;
enum cris_unknown_syscall_action_type cris_unknown_syscall_action
= CRIS_USYSC_MSG_STOP;
-/* Records simulator descriptor so utilities like cris_dump_regs can be
- called from gdb. */
-SIM_DESC current_state;
-
/* CRIS-specific options. */
typedef enum {
OPTION_CRIS_STATS = OPTION_START,
/* CRIS-specific options. */
typedef enum {
OPTION_CRIS_STATS = OPTION_START,
@@
-985,10
+981,6
@@
sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd,
Must be done after cris_cgen_cpu_open. */
cgen_init (sd);
Must be done after cris_cgen_cpu_open. */
cgen_init (sd);
- /* Store in a global so things like cris_dump_regs can be invoked
- from the gdb command line. */
- current_state = sd;
-
cris_set_callbacks (callback);
return sd;
cris_set_callbacks (callback);
return sd;
This page took
0.037427 seconds
and
4
git commands to generate.