[PATCH 01/30] Replace the symbol needs evaluator with a parser

Tom Tromey tom@tromey.com
Thu Jan 21 21:16:41 GMT 2021


>>>>> "Zoran" == Zoran Zaric via Gdb-patches <gdb-patches@sourceware.org> writes:

Zoran> This patch addresses a design problem with the symbol_needs_eval_context
Zoran> class. It exposes the problem by introducing two new testsuite test
Zoran> cases.

Zoran> +  while (op_ptr < expr_end)
Zoran> +    {
Zoran> +      enum dwarf_location_atom op
Zoran> +	= (enum dwarf_location_atom) *op_ptr++;
Zoran> +      uint64_t uoffset;
Zoran> +      int64_t offset;

IIUC this is the same as the earlier patch, that marches through the
bytecode linearly.  I think I sent comments on the earlier submission.

Tom


More information about the Gdb-patches mailing list