[PATCH] Add new model m32r2 of Renesas M32R.

Andrew Cagney cagney@gnu.org
Sun Dec 7 02:53:00 GMT 2003


> ChangeLog/sim/m32r
> 
> 2003-12-02  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
> 
>         * 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




More information about the Gdb-patches mailing list