projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de7d7cb
)
Simplify debug_exp
author
Tom Tromey
<tromey@adacore.com>
Mon, 2 Jan 2023 17:37:15 +0000
(10:37 -0700)
committer
Tom Tromey
<tromey@adacore.com>
Mon, 2 Jan 2023 17:37:15 +0000
(10:37 -0700)
debug_exp should call expression::dump rather than using the 'op'
member.
gdb/expprint.c
patch
|
blob
|
history
diff --git
a/gdb/expprint.c
b/gdb/expprint.c
index a873cf8df74c2fe54aab5490367e67039f9a7f49..49d840be9c617483f2f9c56bab6353f28f22bcfc 100644
(file)
--- 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);
}