зеркало из https://github.com/github/ruby.git
* vm_dump.c (dump_thread): follow the output of glibc.
see [ruby-dev:42627] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ca8405298f
Коммит
b96d267c7e
|
@ -1,3 +1,8 @@
|
|||
Fri Nov 26 10:48:23 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* vm_dump.c (dump_thread): follow the output of glibc.
|
||||
see [ruby-dev:42627]
|
||||
|
||||
Fri Nov 26 09:48:45 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* re.c (rb_reg_initialize_str): should succeed the taint status from
|
||||
|
|
|
@ -741,12 +741,12 @@ dump_thread(void *arg)
|
|||
fprintf(stderr, "%s", libpath);
|
||||
fprintf(stderr, "(%s)", info->Name);
|
||||
}
|
||||
|
||||
fprintf(stderr, " [0x%p]", (void *)(VALUE)addr);
|
||||
memset(&line, 0, sizeof(line));
|
||||
line.SizeOfStruct = sizeof(line);
|
||||
if (pSymGetLineFromAddr64(ph, addr, &tmp, &line))
|
||||
fprintf(stderr, " %s:%lu", line.FileName, line.LineNumber);
|
||||
fprintf(stderr, " [%p]\n", (void *)(VALUE)addr);
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче