Improve comments in print-utils.h.
authorJim Wilson <jimw@sifive.com>
Fri, 11 Oct 2019 18:28:35 +0000 (11:28 -0700)
committerJim Wilson <jimw@sifive.com>
Fri, 11 Oct 2019 18:28:35 +0000 (11:28 -0700)
commit5f93c5a6d5072d0bb2e4e734a6fe3336ce86ced9
tree8a25223d23dcd275ff275c11787b851ab5ab3fc9
parenta83d4ef693d2bda527c6b73c2580a6fcaf63462c
Improve comments in print-utils.h.

Since I had to look at these function comments to fix the RISC-V ARI warnings,
I noticed that they make no sense.  The pulongest and plongest comments are
swapped.  phex is missing a comment.  And phex_nz doesn't mention how it is
different from phex.

* gdbsupport/print-utils.h (pulongest): Fix comment.
(plongest): Likewise.
(phex): Add missing comment, mention leading zeros.
(phex_nz): Add mention of no leading zeros to comment.
gdb/ChangeLog
gdb/gdbsupport/print-utils.h