diff options
author | Tom Tromey <tromey@adacore.com> | 2022-11-01 13:24:32 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-11-14 10:19:08 -0700 |
commit | 197073104337f2d2ce8353334b4125e61b8217c5 (patch) | |
tree | e989eeb687d69808278aa3a1f69ba0a550571bd6 /gdb/parse.c | |
parent | 1f7b42d52a8cb690c259eaa4975a608e82d7267a (diff) | |
download | gdb-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.c | 2 |
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); |