aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-09-12 08:18:10 -0600
committerTom Tromey <tromey@adacore.com>2025-03-06 14:17:17 -0700
commitfb77dfe48b5e40a5ed06f8482cd808a13e136db2 (patch)
treed9c048582246ed7e15bdb1a1abf42e000d554209 /gdb/ada-lang.c
parentcabd5456c78f431517b4c76ed93feff1608e0cf0 (diff)
downloadbinutils-fb77dfe48b5e40a5ed06f8482cd808a13e136db2.zip
binutils-fb77dfe48b5e40a5ed06f8482cd808a13e136db2.tar.gz
binutils-fb77dfe48b5e40a5ed06f8482cd808a13e136db2.tar.bz2
Fix type name in ptype-o.exp
The "Rec" type in ptype-o.exp is currently named "prog__rec" by the compiler. However, with my changes to GNAT, the type will no longer have a prefix, as it is local to a procedure. Changing this to just use "rec" works fine with the new compiler, but then fails with older compilers. To allow correct operation with both compilers, this patch simply moves the type into a new package. This doesn't affect the meaning of the test, which is just ensuring that ptype/o works in a certain case. Note that the more obvious fix of just using "ptype/o rec" does not work with the current GNAT. I haven't investigated this but I did file a bug to track it: https://sourceware.org/bugzilla/show_bug.cgi?id=32169
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions