Re: [PATCH 2/2] gdbhooks.py: extend vec support in pretty printers

2019-07-01 Thread David Malcolm
On Mon, 2019-07-01 at 13:07 +0300, Vladislav Ivanishin wrote: > This change is threefold: > - enable pretty printing of vec<>, not just vec<>* > - generalize 'vec<(\S+), (\S+), (\S+)>' regex, which is limiting > - extend to work for vl_ptr layout (only vl_embed was supported) > > The motivating ex

[PATCH 2/2] gdbhooks.py: extend vec support in pretty printers

2019-07-01 Thread Vladislav Ivanishin
This change is threefold: - enable pretty printing of vec<>, not just vec<>* - generalize 'vec<(\S+), (\S+), (\S+)>' regex, which is limiting - extend to work for vl_ptr layout (only vl_embed was supported) The motivating example for all three is a vector of vectors in tree-ssa-uninit.c: type