[PATCH] [gdb/exp] Redo cast handling for indirection

Pedro Alves pedro@palves.net
Mon May 6 11:21:29 GMT 2024


On 2024-05-06 07:51, Tom de Vries wrote:

> Fix this by instead simply erroring out for this case:
> ...
> (gdb) p (char)*a_loc ()
> 'a_loc' has unknown return type; cast the call to its declared return type
> ...
> 
> Tested on x86_64-linux.
> 
> [1] https://sourceware.org/pipermail/gdb-patches/2024-May/208821.html

Thank you!

Approved-By: Pedro Alves <pedro@palves.net>



More information about the Gdb-patches mailing list