diff options
author | Tom Tromey <tromey@adacore.com> | 2019-06-07 11:29:36 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-06-14 08:02:20 -0600 |
commit | 4268ec187d401b9b132afa1a13c73e0026a53c5d (patch) | |
tree | c897ebf2928eea030e6f1bdddf012e3eb6d95908 /gdb/ChangeLog | |
parent | abdb711e0855f0597a96db0486b598144b788212 (diff) | |
download | gdb-4268ec187d401b9b132afa1a13c73e0026a53c5d.zip gdb-4268ec187d401b9b132afa1a13c73e0026a53c5d.tar.gz gdb-4268ec187d401b9b132afa1a13c73e0026a53c5d.tar.bz2 |
Recognize _ in attribute names
Ada attribute names can contain "_", but the lexer currently does not
allow this -- even though the "attributes" array lists some attributes
spelled this way.
This patch fixes the bug and adds test cases for the existing
attributes.
This was reviewed off-list by Joel. I'm checking it in.
gdb/ChangeLog
2019-06-14 Tom Tromey <tromey@adacore.com>
* ada-lex.l: Allow "_" in attribute names.
gdb/testsuite/ChangeLog
2019-06-14 Tom Tromey <tromey@adacore.com>
* gdb.ada/formatted_ref.exp (test_p_x_addr): Check
'unchecked_access and 'unrestricted_access as well.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cc0e9fd..9fbfcfa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2019-06-14 Tom Tromey <tromey@adacore.com> + * ada-lex.l: Allow "_" in attribute names. + +2019-06-14 Tom Tromey <tromey@adacore.com> + PR gdb/24653: * regcache.c (registers_changed): Don't call alloca. * top.c (execute_command): Don't call alloca. |