ruby-changes:64853
From: Nobuyoshi <ko1@a...>
Date: Wed, 13 Jan 2021 12:50:02 +0900 (JST)
Subject: [ruby-changes:64853] d8fb0bca54 (master): Removed excess stringizations on regstr [Bug #17532]
https://git.ruby-lang.org/ruby.git/commit/?id=d8fb0bca54 From d8fb0bca5475d62731ba871adf344fef88f62bbf Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 13 Jan 2021 12:47:42 +0900 Subject: Removed excess stringizations on regstr [Bug #17532] diff --git a/vm_dump.c b/vm_dump.c index 043c07c..539e394 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -814,7 +814,7 @@ print_machine_register(size_t reg, const char *reg_name, int col_count, int max_ https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L814 # if defined(__x86_64__) || defined(__i386__) # define dump_machine_register(reg) (col_count = print_machine_register(mctx->gregs[REG_##reg], #reg, col_count, 80)) # elif defined(__aarch64__) || defined(__arm__) -# define dump_machine_register(reg, regstr) (col_count = print_machine_register(reg, #regstr, col_count, 80)) +# define dump_machine_register(reg, regstr) (col_count = print_machine_register(reg, regstr, col_count, 80)) # endif # elif defined __APPLE__ # define dump_machine_register(reg) (col_count = print_machine_register(mctx->MCTX_SS_REG(reg), #reg, col_count, 80)) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/