This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [10/10] Convert Modula-2 types to per-gdbarch data


> 	* 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.

I've committed this one as well.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]