forked from Imagelibrary/binutils-gdb
sim: unify SIM_CPU definition
Since every target typedefs this the same way, move it to the common code. We have to leave Blackfin behind here for now because of inter-dependencies on types and headers: sim-base.h includes sim-model.h which needs types in machs.h which needs types in bfim-sim.h which needs SIM_CPU.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (SIM_CPU): Delete.
|
||||
|
||||
2015-04-18 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sim-main.h (sim_cia): Delete.
|
||||
|
||||
@@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
extern unsigned int pc;
|
||||
|
||||
typedef struct _sim_cpu SIM_CPU;
|
||||
|
||||
#include "sim-base.h"
|
||||
|
||||
struct _sim_cpu {
|
||||
|
||||
Reference in New Issue
Block a user