Files
binutils-gdb/gdb/dwarf2
Kevin Buettner f3741bbd18 Simplify case DW_OP_GNU_uninit in dwarf_expr_context::execute_stack_op
Tom Tromey pointed out that the test and call to error() for the
DW_OP_GNU_uninit case in dwarf_expr_context::execute_stack_op (in
gdb/dwarf2/expr.c)...

	  if (op_ptr != op_end && *op_ptr != DW_OP_piece
	      && *op_ptr != DW_OP_bit_piece)
	    error (_("DWARF-2 expression error: DW_OP_GNU_uninit must always "
		   "be the very last op in a DWARF expression or "
		   "DW_OP_piece/DW_OP_bit_piece piece."));

...could be replaced by a call to dwarf_expr_require_composition which
performs a similar check and outputs a suitable error message.
2023-06-12 16:02:40 -07:00
..
2023-04-10 22:33:48 +00:00
2023-03-18 11:12:38 -06:00
2023-06-05 09:59:18 -06:00
2023-06-05 09:59:18 -06:00
2023-06-05 09:59:18 -06:00
2023-06-03 22:43:57 +02:00
2023-06-05 09:59:18 -06:00
2023-06-05 09:59:18 -06:00