[RFA/commit] gdb-gdb.py.in: Fix error when printing range type

Joel Brobecker brobecker@adacore.com
Tue Mar 26 22:37:00 GMT 2019


> 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



More information about the Gdb-patches mailing list