From: Tom Tromey Date: Mon, 2 Jan 2023 17:37:15 +0000 (-0700) Subject: Simplify debug_exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce6fcad80eb594228a2e46e9362d6083881fe96d;p=binutils-gdb.git Simplify debug_exp debug_exp should call expression::dump rather than using the 'op' member. --- diff --git a/gdb/expprint.c b/gdb/expprint.c index a873cf8df74..49d840be9c6 100644 --- a/gdb/expprint.c +++ b/gdb/expprint.c @@ -68,7 +68,7 @@ void ATTRIBUTE_USED debug_exp (struct expression *exp) { - exp->op->dump (gdb_stdlog, 0); + exp->dump (gdb_stdlog); gdb_flush (gdb_stdlog); }