* gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int,
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 16 Jun 2007 20:10:51 +0000 (20:10 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 16 Jun 2007 20:10:51 +0000 (20:10 +0000)
commit5760b90a9095ebf24c15e2e8c427683f3a36dd0d
treed2241d220808b3bc7607d6e09ea2587618db97c2
parent54ef06c7261244bfa0f99988fdb0942f72da728f
* gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int,
builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
Replace global variable declaration with compatibility macro.
(struct builtin_m2_type): New data type.
(builtin_m2_type): Add prototype.
* m2-lang.c (builtin_type_m2_char, builtin_type_m2_int,
builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
Remove global variables.
(m2_language_arch_info): Use builtin_m2_type instead of variables.
(build_m2_types): New function.
(m2_type_data): New variable.
(builtin_m2_type): New function.
(_initialize_m2_language): Do not build data types.  Register
m2_type_data per-gdbarch data.
gdb/ChangeLog
gdb/gdbtypes.h
gdb/m2-lang.c