aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-07-01 08:55:15 -0600
committerTom Tromey <tromey@adacore.com>2021-08-02 10:11:23 -0600
commitba8694b650b60c29126fd958575ffa1ca4f6c415 (patch)
treea4f420223e3b0da8bd2b1608694b70bfe8eeac3b /gdb/stack.c
parent17a3da839932b79dcccfdf41867965892b756540 (diff)
downloadgdb-ba8694b650b60c29126fd958575ffa1ca4f6c415.zip
gdb-ba8694b650b60c29126fd958575ffa1ca4f6c415.tar.gz
gdb-ba8694b650b60c29126fd958575ffa1ca4f6c415.tar.bz2
Handle type qualifier for enumeration name
Pierre-Marie noticed that the Ada expression "TYPE'(NAME)" resolved incorrectly when "TYPE" was an enumeration type. Here, "NAME" should be unambiguous. This patch fixes this problem. Note that the patch is not perfect -- it does not give an error if TYPE is an enumeration type but NAME is not an enumerator but does have some other meaning in scope. Fixing this proved difficult, and so I've left it out.
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions