MI, FrameDecorator.frame_args () and variable objects

Jan Vrany jan.vrany@fit.cvut.cz
Wed Aug 1 06:44:00 GMT 2018


Hi, 

I wonder whether it'd make sense to extend/modify expression 
parser/evaluator to make use of FrameDecorator's frame_args()
and frame_locals() ? 

Jan

On Mon, 2018-07-02 at 10:36 +0100, Jan Vrany wrote:
> Hi, 
> 
> I bumped into another issue. I have custom frame decorator
> that adds "synthetic" arguments in the same sense as described
> in documentation [1]. 
> 
> It works fine, the problem is how to get a variable object for
> such a "synthethic" argument to inspect "contents" of this
> argument. For example, assume the argument is a pointer to 
> a structure and I need to check the contents of it. 
> Is there a way to get such a variable object? Or any other way
> to achieve effectively the same thing?
> 
> Looking at the code of mi_cmd_var_create() it seems to me that
> this is currently impossible but I might be missing something. 
> 
> Best, Jan
> 
> [1]: https://sourceware.org/gdb/onlinedocs/gdb/Frame-Decorator-API.html



More information about the Gdb mailing list