diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-25 03:15:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-25 03:15:49 +0000 |
commit | ecb837865122577bfb43de55a422599d928d22c2 (patch) | |
tree | 08a7be2b45b947f5250925ae763efb784f5cd080 | |
parent | 55f7a4b72697497bd3c30272f3171b8944a38267 (diff) |
vm_dump.c: adjust style
* vm_dump.c (backtrace): adjust style, inserting breaks between
type, function name with its arguments, and its body.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | vm_dump.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -434,7 +434,9 @@ rb_vmdebug_thread_dump_state(VALUE self) # define UNW_LOCAL_ONLY # include <libunwind.h> # undef backtrace -int backtrace (void **trace, int size) { +int +backtrace(void **trace, int size) +{ unw_cursor_t cursor; unw_context_t uc; unw_word_t ip; int n = 0; |