]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
objdump: Round ASCII art lines in jump visualization
authorWaqar Hameed <whame91@gmail.com>
Tue, 23 Apr 2024 15:10:50 +0000 (16:10 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 23 Apr 2024 15:10:50 +0000 (16:10 +0100)
binutils/objdump.c

index 70581c90b22d10a1a07946a1c4e6c982492c1ca0..5acaa54929dbd4bbe37d7a2195ca698bfca603d0 100644 (file)
@@ -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;
                }
            }