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: [rfa/Ada] Remove builtin types from type/value printing routines


> 	* ada-valprint.c (ada_print_scalar): Accept NULL type argument
> 	to indicate scalar should be printed as default integer.
> 	(print_optional_low_bound): Pass NULL to ada_print_scalar to
> 	indicate default integer output.
> 	* ada-typeprint.c (print_range, print_range_bound): Likewise.
> 	(print_choices): Likewise.  Thus, accept NULL as val_type.
> 	* ada-lang.c (ada_variant_discrim_type): Return NULL when failed
> 	to look up controlling discriminant name.

OK!

-- 
Joel


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