ruby-changes:17920
From: usa <ko1@a...>
Date: Fri, 26 Nov 2010 10:50:23 +0900 (JST)
Subject: [ruby-changes:17920] Ruby:r29936 (trunk): * vm_dump.c (dump_thread): follow the output of glibc.
usa 2010-11-26 10:50:18 +0900 (Fri, 26 Nov 2010) New Revision: 29936 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29936 Log: * vm_dump.c (dump_thread): follow the output of glibc. see [ruby-dev:42627] Modified files: trunk/ChangeLog trunk/vm_dump.c Index: ChangeLog =================================================================== --- ChangeLog (revision 29935) +++ ChangeLog (revision 29936) @@ -1,3 +1,8 @@ +Fri Nov 26 10:48:23 2010 NAKAMURA Usaku <usa@r...> + + * vm_dump.c (dump_thread): follow the output of glibc. + see [ruby-dev:42627] + Fri Nov 26 09:48:45 2010 NAKAMURA Usaku <usa@r...> * re.c (rb_reg_initialize_str): should succeed the taint status from Index: vm_dump.c =================================================================== --- vm_dump.c (revision 29935) +++ vm_dump.c (revision 29936) @@ -741,12 +741,12 @@ 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"); } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/