[0/2] Implement two new Ada attributes

Message ID 20230629-enum-attrs-v1-0-ee36873534e2@adacore.com
Headers
Series Implement two new Ada attributes |

Message

Tom Tromey June 29, 2023, 7:44 p.m. UTC
  This short series starts with a small cleanup, then implements two new
attributes from Ada 2022.

---
Tom Tromey (2):
      Remove ada_attribute_name
      Implement 'Enum_Val and 'Enum_Rep

 gdb/NEWS                                    |  2 +
 gdb/ada-exp.h                               | 34 ++++++++--
 gdb/ada-exp.y                               | 14 +++-
 gdb/ada-lang.c                              | 99 +++++++++++++++++------------
 gdb/ada-lex.l                               |  2 +
 gdb/testsuite/gdb.ada/arr_acc_idx_w_gap.exp |  5 ++
 6 files changed, 108 insertions(+), 48 deletions(-)
---
base-commit: 3169b734cf07ec8800436b2c5298897aa993d2be
change-id: 20230629-enum-attrs-2a908f1e5ba0

Best regards,
  

Comments

Tom Tromey July 13, 2023, 5:44 p.m. UTC | #1
>>>>> "Tom" == Tom Tromey via Gdb-patches <gdb-patches@sourceware.org> writes:

Tom> This short series starts with a small cleanup, then implements two new
Tom> attributes from Ada 2022.

I'm checking these in.

Tom