Re: [PATCH] gdbhooks: Fix printing of vec with vl_ptr layout

2024-08-30 Thread Alex Coplan
On 30/08/2024 10:12, David Malcolm wrote: > On Fri, 2024-08-30 at 12:08 +0100, Alex Coplan wrote: > > Hi, > > > > 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 pr

Re: [PATCH] gdbhooks: Fix printing of vec with vl_ptr layout

2024-08-30 Thread David Malcolm
On Fri, 2024-08-30 at 12:08 +0100, Alex Coplan wrote: > Hi, > > 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 mem