forked from Imagelibrary/binutils-gdb
objdump: Round ASCII art lines in jump visualization
This commit is contained in:
committed by
Nick Clifton
parent
ff191ddf80
commit
0de4ba0269
@@ -2949,10 +2949,10 @@ jump_info_visualize_address (bfd_vma address,
|
|||||||
{
|
{
|
||||||
if (address <= ji->end)
|
if (address <= ji->end)
|
||||||
line_buffer[offset] =
|
line_buffer[offset] =
|
||||||
(jump_info_min_address (ji) == address) ? '/': '+';
|
(jump_info_min_address (ji) == address) ? ',': '+';
|
||||||
else
|
else
|
||||||
line_buffer[offset] =
|
line_buffer[offset] =
|
||||||
(jump_info_max_address (ji) == address) ? '\\': '+';
|
(jump_info_max_address (ji) == address) ? '\'': '+';
|
||||||
color_buffer[offset] = color;
|
color_buffer[offset] = color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2983,9 +2983,9 @@ jump_info_visualize_address (bfd_vma address,
|
|||||||
{
|
{
|
||||||
if (jump_info_min_address (ji) < address)
|
if (jump_info_min_address (ji) < address)
|
||||||
line_buffer[offset] =
|
line_buffer[offset] =
|
||||||
(jump_info_max_address (ji) > address) ? '>' : '\\';
|
(jump_info_max_address (ji) > address) ? '>' : '\'';
|
||||||
else
|
else
|
||||||
line_buffer[offset] = '/';
|
line_buffer[offset] = ',';
|
||||||
color_buffer[offset] = color;
|
color_buffer[offset] = color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user