Convert c-exp.y to use operations
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:38 +0000 (07:28 -0700)
commitd182f2797922a305fbd1ef6a483cc39a56b43e02
tree7fb8bb5c51031d16dd169180accded548f17041b
parentc1299a23448227e9bb57df883aba0118618db9f4
Convert c-exp.y to use operations

This converts the C parser to generate operations rather than
exp_elements.

One test needed a tweak in order to handle the different debugging
output.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* objc-lang.c (end_msglist): Create operations.
* c-exp.y: Change parser to create operations.
(write_destructor_name): Remove.
(c_parse): Update.

gdb/testsuite/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* gdb.base/debug-expr.exp: Update expected dump output.
gdb/ChangeLog
gdb/c-exp.y
gdb/objc-lang.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/debug-expr.exp