| Index: base/logging.cc
|
| diff --git a/base/logging.cc b/base/logging.cc
|
| index 0771b47c182e5c18c868f1124a0784bf411d74a9..d4c2dab0a8896235d0a8ecbdc8dc031bdac552a0 100644
|
| --- a/base/logging.cc
|
| +++ b/base/logging.cc
|
| @@ -722,6 +722,9 @@ LogMessage::~LogMessage() {
|
| }
|
|
|
| if (severity_ == LOG_FATAL) {
|
| + fprintf(stderr, "FATAL\n");
|
| + fflush(stderr);
|
| +
|
| // Ensure the first characters of the string are on the stack so they
|
| // are contained in minidumps for diagnostic purposes.
|
| char str_stack[1024];
|
| @@ -731,6 +734,8 @@ LogMessage::~LogMessage() {
|
| if (log_assert_handler) {
|
| // Make a copy of the string for the handler out of paranoia.
|
| log_assert_handler(std::string(stream_.str()));
|
| + fprintf(stderr, "log_assert_handler\n");
|
| + fflush(stderr);
|
| } else {
|
| // Don't use the string with the newline, get a fresh version to send to
|
| // the debug message process. We also don't display assertions to the
|
| @@ -745,6 +750,8 @@ LogMessage::~LogMessage() {
|
| }
|
| #endif
|
| // Crash the process to generate a dump.
|
| + fprintf(stderr, "Call BreakDebugger\n");
|
| + fflush(stderr);
|
| base::debug::BreakDebugger();
|
| }
|
| }
|
|
|