3 ms·
so where does the machine code for the TUI live? does it get compiled into your binary? how big is it?
by a-dub 4y ago
so where does the machine code for the TUI live? does it get compiled into your binary? how big is it?
- TheYumasi 4y agoThe TUI is from gdb.[1] Nothing from GDB is compiled in your binary. My guess (might be wrong!) is that the ShowCrashReports() call added in your program's main function sets up some signal handlers, so that in case of segfaults it starts GDB in a separate process and attaches it to your crashing process. [1]: https://sourceware.org/gdb/onlinedocs/gdb/TUI.html https://sourceware.org/gdb/onlinedocs/gdb/TUI.html