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:22 -0700 |
commit | ae4bb61e199c90c71e3482169233a0f40f446484 (patch) | |
tree | 78966cfc258cf9c7b79bbd612abc75dab2578d9a /gdb/eval.c | |
parent | 85d23bda83101f4c278337428dc15eda0eecc95b (diff) | |
download | fsf-binutils-gdb-ae4bb61e199c90c71e3482169233a0f40f446484.zip fsf-binutils-gdb-ae4bb61e199c90c71e3482169233a0f40f446484.tar.gz fsf-binutils-gdb-ae4bb61e199c90c71e3482169233a0f40f446484.tar.bz2 |
Introduce unop_alignof_operation
This adds class unop_alignof_operation, which implements UNOP_ALIGNOF.
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expop.h (class unop_alignof_operation): New.
* eval.c (eval_op_alignof): No longer static.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1881,7 +1881,7 @@ eval_op_ind (struct type *expect_type, struct expression *exp, /* A helper function for UNOP_ALIGNOF. */ -static struct value * +struct value * eval_op_alignof (struct type *expect_type, struct expression *exp, enum noside noside, struct value *arg1) |