aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:35 -0700
commit7631cf6cc8812fef7d27aff800e12f8e31393f29 (patch)
treecf5d4690a25592b5c333d8cb258fc051bb6ab86c /gdb/ada-lang.c
parent7992accc6e5dc674ab209397acc1d840f869c326 (diff)
downloadgdb-7631cf6cc8812fef7d27aff800e12f8e31393f29.zip
gdb-7631cf6cc8812fef7d27aff800e12f8e31393f29.tar.gz
gdb-7631cf6cc8812fef7d27aff800e12f8e31393f29.tar.bz2
Introduce ada_pos_operation
This adds class ada_pos_operation, a new typedef that implements OP_ATR_POS. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * ada-lang.c (ada_pos_atr): No longer static. * ada-exp.h (ada_pos_operation): New typedef.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index cbb1dee..52766ae 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -8863,7 +8863,7 @@ pos_atr (struct value *arg)
return *result;
}
-static struct value *
+struct value *
ada_pos_atr (struct type *expect_type,
struct expression *exp,
enum noside noside, enum exp_opcode op,