Re:GDB 8.1 Released
by xuhu on Wednesday January 31, 2018 @01:38PM
(#16276278)
starti, rbreak and ptype sound good even if they've been available as idioms before.
[ Parent
| on HN ]
starti did not exist before, and specifically addresses a StackOverflow question of mine from ~3 years ago: https://reverseengineering.stackexchange.com/questions/8724
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.
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.