Hello Andrew > - did I miss the file model2.c? I can generate model2.c with cgen in current-cvs. > - does it build for you? For --target=m32r-elf I see: I send to my m32r2 target's files to build with --target=m32r-elf --enable-cgen-maint. Kazuhiro > > ChangeLog/sim/m32r > > > > 2003-12-02 Kazuhiro Inaoka > > > > * Makefile.in : Add new machine m32r2. > > * m32r2.c : New file for m32r2. > > * mloop2.in : Ditto > > * model2.c : Ditto > > * sem2-switch.c : Ditto > > * m32r-sim.h : Add EVB register. > > * sim-if.h : Ditto > > * sim-main.h : Ditto > > * traps.c : Ditto > > Two questions? > > - did I miss the file model2.c? > - does it build for you? For --target=m32r-elf I see: > > /home/scratch/GDB/src/sim/m32r/sim-main.h:64: parse error before > `M32R2F_CPU_DATA' > /home/scratch/GDB/src/sim/m32r/sim-main.h:64: warning: no semicolon at > end of struct or union > In file included from /home/scratch/GDB/src/sim/m32r/m32r2.c:25: > /home/scratch/GDB/src/sim/m32r/../common/cgen-mem.h: In function `GETMEMQI': > /home/scratch/GDB/src/sim/m32r/../common/cgen-mem.h:50: dereferencing > pointer to incomplete type > > Andrew > >