diff options
Diffstat (limited to 'src/vnet/unix/gdb_funcs.c')
-rw-r--r-- | src/vnet/unix/gdb_funcs.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/vnet/unix/gdb_funcs.c b/src/vnet/unix/gdb_funcs.c index 6f0dd208caf..29011f05ce1 100644 --- a/src/vnet/unix/gdb_funcs.c +++ b/src/vnet/unix/gdb_funcs.c @@ -38,6 +38,21 @@ vl (void *p) } /** + * @brief GDB callable function: pvh - Return vector header of vector + * + * @param *p - void - address of vector + * + * @return vh - vec_header_t, the vector header + * + */ +vec_header_t * +pvh (void *p) +{ + return _vec_find (p); +} + + +/** * @brief GDB callable function: pe - call pool_elts - number of elements in a pool * * @param *v - void - address of pool |