projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jit: make gdb_symtab::blocks an std::forward_list
[deliverable/binutils-gdb.git]
/
sim
/
avr
/
sim-main.h
diff --git
a/sim/avr/sim-main.h
b/sim/avr/sim-main.h
index e0cac221df77e944c71761b19fdd4643964bb526..c6c8178cad766b92dc22a888251f4cbd16c3a39d 100644
(file)
--- a/
sim/avr/sim-main.h
+++ b/
sim/avr/sim-main.h
@@
-1,5
+1,5
@@
/* Moxie Simulator definition.
/* Moxie Simulator definition.
- Copyright (C) 2009-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
9
Free Software Foundation, Inc.
This file is part of GDB, the GNU debugger.
This file is part of GDB, the GNU debugger.
@@
-21,19
+21,24
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-basics.h"
#include "sim-basics.h"
-extern unsigned int pc;
-
#include "sim-base.h"
struct _sim_cpu {
#include "sim-base.h"
struct _sim_cpu {
+ /* The only real register. */
+ uint32_t pc;
+
+ /* We update a cycle counter. */
+ uint32_t cycles;
sim_cpu_base base;
};
struct sim_state {
sim_cpu_base base;
};
struct sim_state {
-
sim_cpu *cpu[MAX_NR_PROCESSORS];
sim_cpu *cpu[MAX_NR_PROCESSORS];
+ /* If true, the pc needs more than 2 bytes. */
+ int avr_pc22;
+
sim_state_base base;
};
sim_state_base base;
};
This page took
0.02421 seconds
and
4
git commands to generate.