Removed excess stringizations on regstr [Bug #17532]

This commit is contained in:
Nobuyoshi Nakada 2021-01-13 12:47:42 +09:00
Родитель 083c5f08ec
Коммит d8fb0bca54
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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__) # if defined(__x86_64__) || defined(__i386__)
# define dump_machine_register(reg) (col_count = print_machine_register(mctx->gregs[REG_##reg], #reg, col_count, 80)) # define dump_machine_register(reg) (col_count = print_machine_register(mctx->gregs[REG_##reg], #reg, col_count, 80))
# elif defined(__aarch64__) || defined(__arm__) # 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 # endif
# elif defined __APPLE__ # elif defined __APPLE__
# define dump_machine_register(reg) (col_count = print_machine_register(mctx->MCTX_SS_REG(reg), #reg, col_count, 80)) # define dump_machine_register(reg) (col_count = print_machine_register(mctx->MCTX_SS_REG(reg), #reg, col_count, 80))