aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-11-01 13:24:32 -0600
committerTom Tromey <tromey@adacore.com>2022-11-14 10:19:08 -0700
commit197073104337f2d2ce8353334b4125e61b8217c5 (patch)
treee989eeb687d69808278aa3a1f69ba0a550571bd6 /gdb/expprint.c
parent1f7b42d52a8cb690c259eaa4975a608e82d7267a (diff)
downloadgdb-197073104337f2d2ce8353334b4125e61b8217c5.zip
gdb-197073104337f2d2ce8353334b4125e61b8217c5.tar.gz
gdb-197073104337f2d2ce8353334b4125e61b8217c5.tar.bz2
Remove dump_prefix_expression
Since the expression rewrite, dump_prefix_expression has been misnamed. This patch cleans this up by removing the function, turning it into a method on struct expression.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 8534d2a..914177a 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -59,12 +59,6 @@ op_name (enum exp_opcode opcode)
}
}
-void
-dump_prefix_expression (struct expression *exp, struct ui_file *stream)
-{
- exp->op->dump (stream, 0);
-}
-
/* Meant to be used in debug sessions, so don't export it in a header file. */
extern void ATTRIBUTE_USED debug_exp (struct expression *exp);