From: Nick Clifton <nickc@sourceware.org>
To: binutils-cvs@sourceware.org
Subject: [binutils-gdb] objdump: Round ASCII art lines in jump visualization
Date: Tue, 23 Apr 2024 15:11:08 +0000 (GMT) [thread overview]
Message-ID: <20240423151108.AB6C7385840D@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0de4ba02693b74d9171789a6a624d4b40050a30e
commit 0de4ba02693b74d9171789a6a624d4b40050a30e
Author: Waqar Hameed <whame91@gmail.com>
Date: Tue Apr 23 16:10:50 2024 +0100
objdump: Round ASCII art lines in jump visualization
Diff:
---
binutils/objdump.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 70581c90b22..5acaa54929d 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;
}
}
reply other threads:[~2024-04-23 15:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240423151108.AB6C7385840D@sourceware.org \
--to=nickc@sourceware.org \
--cc=binutils-cvs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).