aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2024-08-30 15:29:34 +0100
committerAlex Coplan <alex.coplan@arm.com>2024-08-30 15:29:34 +0100
commit5020f8ea80af90d8a08eff9fdef3276056df98f5 (patch)
tree40501c10fd8c43d9af3e733510b31aaebe5da5c3 /gcc/expr.cc
parent3fb90724cec7e76b60fb910fa98b4ebec9912a31 (diff)
downloadgcc-5020f8ea80af90d8a08eff9fdef3276056df98f5.zip
gcc-5020f8ea80af90d8a08eff9fdef3276056df98f5.tar.gz
gcc-5020f8ea80af90d8a08eff9fdef3276056df98f5.tar.bz2
gdbhooks: Fix printing of vec with vl_ptr layout
As it stands, the pretty printing of GCC's vecs by gdbhooks.py only handles vectors with vl_embed layout. As such, when encountering a vec with vl_ptr layout, GDB would print a diagnostic like: gdb.error: There is no member or method named m_vecpfx. when (e.g.) any such vec occurred in a backtrace. This patch extends VecPrinter.children to also handle vl_ptr vectors. gcc/ChangeLog: * gdbhooks.py (VEC_KIND_EMBED): New. (VEC_KIND_PTR): New. (get_vec_kind): New. (VecPrinter.children): Also handle vectors with vl_ptr layout.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions