From ce6fcad80eb594228a2e46e9362d6083881fe96d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 2 Jan 2023 10:37:15 -0700 Subject: [PATCH] Simplify debug_exp debug_exp should call expression::dump rather than using the 'op' member. --- gdb/expprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2