diff options
author | Waqar Hameed <whame91@gmail.com> | 2024-04-23 16:10:50 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-04-23 16:10:50 +0100 |
commit | 0de4ba02693b74d9171789a6a624d4b40050a30e (patch) | |
tree | 54fd3dba9100c841cf2d36b99e8ac4dd015b41f7 /binutils | |
parent | ff191ddf80a2bcb81e0ef0208a961f98e72fe719 (diff) | |
download | binutils-0de4ba02693b74d9171789a6a624d4b40050a30e.zip binutils-0de4ba02693b74d9171789a6a624d4b40050a30e.tar.gz binutils-0de4ba02693b74d9171789a6a624d4b40050a30e.tar.bz2 |
objdump: Round ASCII art lines in jump visualization
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/objdump.c | 8 |
1 files 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; } } |