3 ms·
There are settings you can place in .gdbinit to avoid stepping in to internals of anything you don’t want to step into, be it std library classes/functions or y
by imron 4y ago
There are settings you can place in .gdbinit to avoid stepping in to internals of anything you don’t want to step into, be it std library classes/functions or your own code.
Much nicer than hacky ifdefs.
- exDM69 4y ago> There are settings you can place in .gdbinit to avoid stepping in to internals of anything you don’t want to step into, be it std library classes/functions or your own code. This is exactly what I need. For both, C++ and Rust smart pointers. Can you share any more info on how to set this up?
- imron 4y agoOn mobile at the moment so can’t check my .gdbinit, but a quick search turns up this page which seems relevant: https://sourceware.org/gdb/onlinedocs/gdb/Skipping-Over-Functions-and-Files.html https://sourceware.org/gdb/onlinedocs/gdb/Skipping-Over-Func...