X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fsim-cpu.h;h=785af846d25e0b10c653636b180955ff7236d2df;hb=41792d688a5a1f158d6e9ecda2b603ae122d69a1;hp=fcc09193e1edc671b63a7421a4600bdcd80265f9;hpb=c5a570810022466eaa5e077cd1b8aa00d74706f1;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/sim-cpu.h b/sim/common/sim-cpu.h index fcc09193e1..785af846d2 100644 --- a/sim/common/sim-cpu.h +++ b/sim/common/sim-cpu.h @@ -1,5 +1,5 @@ /* CPU support. - Copyright (C) 1998, 2007-2012 Free Software Foundation, Inc. + Copyright (C) 1998-2020 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GDB, the GNU debugger. @@ -100,17 +100,15 @@ typedef struct { PROFILE_DATA profile_data; #define CPU_PROFILE_DATA(cpu) (& (cpu)->base.profile_data) -#ifdef SIM_HAVE_MODEL /* Machine tables for this cpu. See sim-model.h. */ - const MACH *mach; + const SIM_MACH *mach; #define CPU_MACH(cpu) ((cpu)->base.mach) /* The selected model. */ - const MODEL *model; + const SIM_MODEL *model; #define CPU_MODEL(cpu) ((cpu)->base.model) /* Model data (profiling state, etc.). */ void *model_data; #define CPU_MODEL_DATA(cpu) ((cpu)->base.model_data) -#endif /* Routines to fetch/store registers. */ CPUREG_FETCH_FN *reg_fetch;