Add c-exp.h and c_string_operation
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:17 +0000 (07:28 -0700)
commit72d0a71134f9a7e4725d6ac490e1323cf7aa6ec2
treead06048ae5e4a24d076b710f8545586d5a813388
parent9186293fd6bd4c3a4855c7aa62ad2ab1734077e6
Add c-exp.h and c_string_operation

This adds the new file c-exp.h, where C operation classes will be
declared.  The first such class, c_string_operation, is also added
here.

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

* c-lang.c (c_string_operation::evaluate): New method.
* c-exp.h: New file.
gdb/ChangeLog
gdb/c-exp.h [new file with mode: 0644]
gdb/c-lang.c