Simplify debug_exp

debug_exp should call expression::dump rather than using the 'op'
member.
This commit is contained in:
Tom Tromey 2023-01-02 10:37:15 -07:00
parent de7d7cb58e
commit ce6fcad80e

View File

@ -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);
}