From 0de4ba02693b74d9171789a6a624d4b40050a30e Mon Sep 17 00:00:00 2001 From: Waqar Hameed Date: Tue, 23 Apr 2024 16:10:50 +0100 Subject: objdump: Round ASCII art lines in jump visualization --- binutils/objdump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/binutils/objdump.c b/binutils/objdump.c index 70581c9..5acaa54 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2949,10 +2949,10 @@ jump_info_visualize_address (bfd_vma address, { if (address <= ji->end) line_buffer[offset] = - (jump_info_min_address (ji) == address) ? '/': '+'; + (jump_info_min_address (ji) == address) ? ',': '+'; else line_buffer[offset] = - (jump_info_max_address (ji) == address) ? '\\': '+'; + (jump_info_max_address (ji) == address) ? '\'': '+'; color_buffer[offset] = color; } } @@ -2983,9 +2983,9 @@ jump_info_visualize_address (bfd_vma address, { if (jump_info_min_address (ji) < address) line_buffer[offset] = - (jump_info_max_address (ji) > address) ? '>' : '\\'; + (jump_info_max_address (ji) > address) ? '>' : '\''; else - line_buffer[offset] = '/'; + line_buffer[offset] = ','; color_buffer[offset] = color; } } -- cgit v1.1