summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-27 09:44:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-27 09:44:51 +0000
commit6fc35dffb41b37c25450b796407112a955fe70c9 (patch)
tree36b6f11822d0a460bf29dd87267a97beb11cb1f0 /vm_dump.c
parent9aaa2da65b2093c21e8417d4d5091d1a7e397fc9 (diff)
* vm_dump.c (rb_vm_bugreport): no empty lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 191dbc4..eb2a89f 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -601,15 +601,13 @@ rb_vm_bugreport(void)
fprintf(stderr, "-- C level backtrace information "
"-------------------------------------------\n");
- for (i=0; i<n; i++) {
- const char *info = syms ? syms[i] : "";
- fprintf(stderr, "%p %s\n", trace[i], info);
- }
- fprintf(stderr, "\n");
-
if (syms) {
+ for (i=0; i<n; i++) {
+ fprintf(stderr, "%s\n", syms[i]);
+ }
free(syms);
}
+ fprintf(stderr, "\n");
}
#endif
}