mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-17 16:10:29 +00:00
Improve debug binary location detection
This commit is contained in:
parent
68c7c9c1e0
commit
7a9e176ecf
17 changed files with 92 additions and 50 deletions
|
@ -76,6 +76,7 @@ static void InstallCrashHandler(int sig, int flags) {
|
|||
void ShowCrashReports(void) {
|
||||
struct sigaltstack ss;
|
||||
static char crashstack[65536];
|
||||
FindDebugBinary();
|
||||
ss.ss_flags = 0;
|
||||
ss.ss_size = sizeof(crashstack);
|
||||
ss.ss_sp = crashstack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue