Does this mean p does not work anymore, because there are now 2 commands starting with p? This would be a shame.
I checked it out. p still works as before.
But I needed a C++ patch on osx with cc/clang. Apparently they added cxx files with the .c extension: gdb/probe.c:63
- const any_static_probe_ops any_static_probe_ops;
+ any_static_probe_ops any_static_probe_ops;
Re:GDB 8.1 Released
by akrasuski1 on Wednesday January 31, 2018 @07:43PM
(#16278887)
Presumably the stackexchange answer is what OP meant by it being an idiom.
ptype already existed, but did not print out offsets. This is incredibly useful, and something Windbg does with dt. Pwndbg does this in GDB by adding new commands.