summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-26 01:50:18 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-26 01:50:18 +0000
commitb96d267c7ec85ba5820bdf1a425c4b43da921335 (patch)
tree347c7a7095479dea30d71661c6ac8030b0c91f74 /vm_dump.c
parentca8405298f87a7ab857d91d646c48bbad2cecb1f (diff)
downloadruby-b96d267c7ec85ba5820bdf1a425c4b43da921335.tar.gz
* 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
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_dump.c b/vm_dump.c
index a1f4a7c529..757bf7eb3d 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -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");
}
}