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: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: brobecker at adacore dot com (Joel Brobecker)
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 29 Jun 2009 19:30:44 +0200 (CEST)
- Subject: Re: [rfa/Ada] Remove builtin types from type/value printing routines
Joel Brobecker wrote:
> > * 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!
Checked in as well.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com