From: "H.J. Lu" <hjl.tools@gmail.com>
To: GDB <gdb-patches@sourceware.org>
Subject: Missing 0x in phex_nz output
Date: Thu, 01 Apr 2010 22:42:00 -0000 [thread overview]
Message-ID: <z2u6dc9ffc81004011542i4a86f14el4537e1090ffe77@mail.gmail.com> (raw)
Hi,
phex_nz returns a string of hex number. But 0x is missing in many outputs:
m32r-rom.c: monitor_printf ("%s mw\r", phex_nz (section_base, addr_size));
monitor.c: monitor_printf ("%s\r", phex_nz (val, reg_size));
monitor.c: monitor_printf ("%s\r", phex_nz (val, reg_size));
remote.c: xsnprintf (buf, get_remote_packet_size (), "P%s=", phex_nz
(reg->pnum, 0));
remote.c: sprintf (p, "pc:%s", phex_nz (addr1, 0));
remote.c: sprintf (p, "range:%s:%s", phex_nz (addr1, 0), phex_nz
(addr2, 0));
remote.c: sprintf (p, "outside:%s:%s", phex_nz (addr1, 0),
phex_nz (addr2, 0));
scm-valprint.c: fprintf_filtered (stream, " #X%s>", phex_nz
(svalue, SCM_SIZE));
There may be more cases like the above.
--
H.J.
next reply other threads:[~2010-04-01 22:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 22:42 H.J. Lu [this message]
2010-04-01 22:50 ` Stan Shebs
2010-04-01 22:51 ` Pedro Alves
2010-04-01 22:54 ` H.J. Lu
2010-04-01 23:04 ` Pedro Alves
2010-04-01 23:13 ` H.J. Lu
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=z2u6dc9ffc81004011542i4a86f14el4537e1090ffe77@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=gdb-patches@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