command: clarify hex format

Signed-off-by: Rafael Silva <perigoso@riseup.net>
This commit is contained in:
Rafael Silva 2022-07-19 18:32:11 +01:00 committed by Rachel Mant
parent d1fa50336e
commit ce3d80528e
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ static void display_target(int i, target *t, void *context)
{
(void)context;
if (!strcmp(target_driver_name(t), "ARM Cortex-M")) {
gdb_outf("***%2d%sUnknown %s Designer %3x Partno %3x %s\n",
gdb_outf("***%2d%sUnknown %s Designer 0x%03x Partno 0x%03x %s\n",
i, target_attached(t)?" * ":" ",
target_driver_name(t),
target_designer(t),