diff options
author | Daniel Lange <DLange@git.local> | 2021-01-08 17:31:06 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-01-08 17:31:06 +0100 |
commit | c7d93a8f30a98c695aaed8c370857be65d8cb63e (patch) | |
tree | 2daeccda314d83acccba80507efca74efdbc343c /CRT.c | |
parent | bfcb8ca0196eef942e6363e2fd7faa80eddec644 (diff) | |
parent | 2d2a2df6f22715e1d7a6518e186918ee642e7293 (diff) |
Merge branch 'ncurses_format' of cgzones/htop
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -818,9 +818,13 @@ void CRT_handleSIGSEGV(int signal) { "- Your OS and kernel version (uname -a)\n" "- Your distribution and release (lsb_release -a)\n" "- Likely steps to reproduce (How did it happened?)\n" + ); + #ifdef HAVE_EXECINFO_H - "- Backtrace of the issue (see below)\n" + fprintf(stderr, "- Backtrace of the issue (see below)\n"); #endif + + fprintf(stderr, "\n" ); @@ -855,11 +859,15 @@ void CRT_handleSIGSEGV(int signal) { "you should provide a disassembly of your binary.\n" "This can usually be done by running the following command:\n" "\n" + ); + #ifdef HTOP_DARWIN - " otool -tvV `which htop` > ~/htop.otool\n" + fprintf(stderr, " otool -tvV `which htop` > ~/htop.otool\n"); #else - " objdump -d -S -w `which htop` > ~/htop.objdump\n" + fprintf(stderr, " objdump -d -S -w `which htop` > ~/htop.objdump\n"); #endif + + fprintf(stderr, "\n" "Please include the generated file in your report.\n" "\n" |