aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_gpio.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-11-28 14:26:56 -0700
committerTom Tromey <tromey@adacore.com>2023-12-15 14:03:48 -0700
commitd56fdf1b976d32762c780a0107b20e61ce768967 (patch)
tree65bfccbde4736a34f3a9a23782a5d9b39a21d960 /sim/bfin/dv-bfin_gpio.h
parent1414fbf941140746862b920c6a1034099c4ff3d1 (diff)
downloadgdb-d56fdf1b976d32762c780a0107b20e61ce768967.zip
gdb-d56fdf1b976d32762c780a0107b20e61ce768967.tar.gz
gdb-d56fdf1b976d32762c780a0107b20e61ce768967.tar.bz2
Refine Ada overload matching
Currently, the overload handling in Ada assumes that any two array types are compatible. However, this is obviously untrue, and a user reported an oddity where comparing two Ada strings resulted in a call to the "=" function for packed boolean arrays. This patch improves the situation somewhat, by requiring that the two arrays have the same arity and compatible base element types. This is still over-broad, but it seems safe and is better than the status quo.
Diffstat (limited to 'sim/bfin/dv-bfin_gpio.h')
0 files changed, 0 insertions, 0 deletions