X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fsim-cpu.h;h=785af846d25e0b10c653636b180955ff7236d2df;hb=41792d688a5a1f158d6e9ecda2b603ae122d69a1;hp=40f581e5d53bc5ed80fed89a483ddaa68d869eb0;hpb=8acc9f485bba28b65935dcc3498d9f3b712ddac7;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/sim-cpu.h b/sim/common/sim-cpu.h index 40f581e5d5..785af846d2 100644 --- a/sim/common/sim-cpu.h +++ b/sim/common/sim-cpu.h @@ -1,5 +1,5 @@ /* CPU support. - Copyright (C) 1998-2013 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;