diff options
author | Lukas Larsson <[email protected]> | 2014-11-05 15:47:23 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-11-05 15:47:23 +0100 |
commit | d5de489bf312fb83da96d0ce8e34514d66b68caa (patch) | |
tree | a086d77a703ea76400eb82c481a94585b8f48160 /erts/emulator/beam | |
parent | 2863d7a23622da445b0562b051b4eb8fb048f7fe (diff) | |
parent | a1c09befb56cf8e73b722fe69ff87db65815bb9d (diff) | |
download | otp-d5de489bf312fb83da96d0ce8e34514d66b68caa.tar.gz otp-d5de489bf312fb83da96d0ce8e34514d66b68caa.tar.bz2 otp-d5de489bf312fb83da96d0ce8e34514d66b68caa.zip |
Merge branch 'lukas/erts/crash_dump_shell_info/OTP-12292'
* lukas/erts/crash_dump_shell_info/OTP-12292:
erts: Print that we are crashdumping earlier
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/break.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c index 08265b590d..5aee85174f 100644 --- a/erts/emulator/beam/break.c +++ b/erts/emulator/beam/break.c @@ -754,6 +754,8 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args) dumpname = "erl_crash.dump"; else dumpname = &dumpnamebuf[0]; + + erts_fprintf(stderr,"\nCrash dump is being written to: %s...", dumpname); fd = open(dumpname,O_WRONLY | O_CREAT | O_TRUNC,0640); if (fd < 0) @@ -804,7 +806,7 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args) erts_fdprintf(fd, "=end\n"); close(fd); - erts_fprintf(stderr,"\nCrash dump was written to: %s\n", dumpname); + erts_fprintf(stderr,"done\n"); } void |