mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_dump.c (rb_vm_bugreport): change CrashReporter suggestion messages
on Mac. It should be placed after "-- C level backtrace" line. Suggested by Endoh-san. <before> -- See Crash Report log file under ~/Library/Logs/CrashReporter or --------- -- /Library/Logs/CrashReporter, for the more detail of --------------------- -- C level backtrace information ------------------------------------------- <after> -- C level backtrace information ------------------------------------------- See Crash Report log file under ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter, for the more detail of. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
93e1583d73
commit
230be2a771
2 changed files with 22 additions and 6 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
||||||
|
Sun Jun 26 13:35:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* vm_dump.c (rb_vm_bugreport): change CrashReporter suggestion messages
|
||||||
|
on Mac. It should be placed after "-- C level backtrace" line.
|
||||||
|
Suggested by Endoh-san.
|
||||||
|
|
||||||
|
<before>
|
||||||
|
-- See Crash Report log file under ~/Library/Logs/CrashReporter or ---------
|
||||||
|
-- /Library/Logs/CrashReporter, for the more detail of ---------------------
|
||||||
|
-- C level backtrace information -------------------------------------------
|
||||||
|
|
||||||
|
<after>
|
||||||
|
-- C level backtrace information -------------------------------------------
|
||||||
|
|
||||||
|
See Crash Report log file under ~/Library/Logs/CrashReporter or
|
||||||
|
/Library/Logs/CrashReporter, for the more detail of.
|
||||||
|
|
||||||
Sun Jun 26 10:08:28 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
Sun Jun 26 10:08:28 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||||
|
|
||||||
* ext/openssl/extconf.rb
|
* ext/openssl/extconf.rb
|
||||||
|
|
11
vm_dump.c
11
vm_dump.c
|
@ -779,18 +779,17 @@ rb_vm_bugreport(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined __MACH__ && defined __APPLE__
|
|
||||||
fprintf(stderr, "-- See Crash Report log file under "
|
|
||||||
"~/Library/Logs/CrashReporter or ---------\n");
|
|
||||||
fprintf(stderr, "-- /Library/Logs/CrashReporter, for "
|
|
||||||
"the more detail of ---------------------\n");
|
|
||||||
#endif
|
|
||||||
#if HAVE_BACKTRACE || defined(_WIN32)
|
#if HAVE_BACKTRACE || defined(_WIN32)
|
||||||
fprintf(stderr, "-- C level backtrace information "
|
fprintf(stderr, "-- C level backtrace information "
|
||||||
"-------------------------------------------\n");
|
"-------------------------------------------\n");
|
||||||
|
|
||||||
{
|
{
|
||||||
#if defined __MACH__ && defined __APPLE__
|
#if defined __MACH__ && defined __APPLE__
|
||||||
|
fprintf(stderr, "\n");
|
||||||
|
fprintf(stderr, " See Crash Report log file under "
|
||||||
|
"~/Library/Logs/CrashReporter or\n");
|
||||||
|
fprintf(stderr, " /Library/Logs/CrashReporter, for "
|
||||||
|
"the more detail of.\n");
|
||||||
#elif HAVE_BACKTRACE
|
#elif HAVE_BACKTRACE
|
||||||
#define MAX_NATIVE_TRACE 1024
|
#define MAX_NATIVE_TRACE 1024
|
||||||
static void *trace[MAX_NATIVE_TRACE];
|
static void *trace[MAX_NATIVE_TRACE];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue