summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-13 12:47:42 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-13 12:47:42 +0900
commitd8fb0bca5475d62731ba871adf344fef88f62bbf (patch)
tree647d569726ea7549f08b985d0c490d17a2d38446
parent083c5f08ec4e95c9b75810d46f933928327a5ab3 (diff)
Removed excess stringizations on regstr [Bug #17532]
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 043c07ccd9c..539e39479d8 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_
# 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))