This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit] gdb-gdb.py.in: Fix error when printing range type
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 26 Mar 2019 15:37:05 -0700
- Subject: Re: [RFA/commit] gdb-gdb.py.in: Fix error when printing range type
- References: <20190302134939.24157-1-brobecker@adacore.com>
> gdb/ChangeLog:
>
> * gdb-gdb.py.in (StructMainTypePrettyPrinter.bound_img): New method.
> (StructMainTypePrettyPrinter.bounds_img): Use new "bound_img"
> method to compute the bounds of range types. Also print "[evaluated]"
> if the bounds' values come from a dynamic evaluation.
>
> Tested on x86_64-linux (likely worth nothing, but done anyway).
FTR, I pushed this patch to master today.
--
Joel