Let phex and phex_nz handle sizeof_l==1
authorTom Tromey <tromey@adacore.com>
Thu, 3 Feb 2022 20:18:25 +0000 (13:18 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 7 Mar 2022 14:52:59 +0000 (07:52 -0700)
commitc8b76e1ec346de509dbcc2c6dfc4519c572f7322
tree103e21c08c6ecfdbb7471bd1c3b136fb5224b55b
parent36f5ca535d0cffb4d9767f4471ac632dddd94c3b
Let phex and phex_nz handle sizeof_l==1

Currently, neither phex nor phex_nz handle sizeof_l==1 -- they let
this case fall through to the default case.  However, a subsequent
patch in this series needs this case to work correctly.

I looked at all calls to these functions that pass a 1 for the
sizeof_l parameter.  The only such case seems to be correct with this
change.
gdbsupport/print-utils.cc