forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user