This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa/Ada] Remove builtin types from type/value printing routines
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 29 Jun 2009 08:39:06 -0700
- Subject: Re: [rfa/Ada] Remove builtin types from type/value printing routines
- References: <200906261553.n5QFrJfo030041@d12av02.megacenter.de.ibm.com>
> * 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