aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.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/parse.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/parse.c')
-rw-r--r--gdb/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index aa12f6f..bfd9de0 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -527,7 +527,7 @@ parse_exp_in_context (const char **stringptr, CORE_ADDR pc,
result->op->set_outermost ();
if (expressiondebug)
- dump_prefix_expression (result.get (), gdb_stdlog);
+ result->dump (gdb_stdlog);
if (completer != nullptr)
*completer = std::move (ps.m_completion_state);