aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-valprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-10-19 15:32:08 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-10-25 14:51:44 -0400
commitd9f82e931394efed68858eb7c7bb5832ad888482 (patch)
tree2c8d23aac0b396bcfe433a26f16c2d80e9650423 /gdb/f-valprint.c
parent61d7f128e6ea37af805be4e365f5879b0d42bb93 (diff)
downloadgdb-d9f82e931394efed68858eb7c7bb5832ad888482.zip
gdb-d9f82e931394efed68858eb7c7bb5832ad888482.tar.gz
gdb-d9f82e931394efed68858eb7c7bb5832ad888482.tar.bz2
gdbsupport: add assertions in array_view
Add assertions to ensure we don't access an array_view out of bounds. Enable these assertions only when _GLIBCXX_DEBUG is set, as we did for gdb::optional. Change-Id: Iffaee38252405073735ed123c8e57fde6b2c6be3
Diffstat (limited to 'gdb/f-valprint.c')
0 files changed, 0 insertions, 0 deletions