diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:16 -0700 |
commit | b50db09ff9c0a5d2220e73ddcff3a05e2e887b0e (patch) | |
tree | 4838f121ae33a1850b63ed9b8f4685372ca9613b /gdb/eval.c | |
parent | e6e01e16c547b21be2e3fc6b0783492aea98c427 (diff) | |
download | gdb-b50db09ff9c0a5d2220e73ddcff3a05e2e887b0e.zip gdb-b50db09ff9c0a5d2220e73ddcff3a05e2e887b0e.tar.gz gdb-b50db09ff9c0a5d2220e73ddcff3a05e2e887b0e.tar.bz2 |
Introduce string_operation
This adds string_operation, which implements OP_STRING for most
languages (C has its own variant).
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expop.h (class string_operation): New.
* eval.c (eval_op_string): No longer static.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1284,7 +1284,7 @@ eval_op_register (struct type *expect_type, struct expression *exp, /* Helper function that implements the body of OP_STRING. */ -static struct value * +struct value * eval_op_string (struct type *expect_type, struct expression *exp, enum noside noside, int len, const char *string) { |