qemu-patch-raspberry4/target/xtensa
Markus Armbruster 61848717d6 monitor: Trim some trailing space from human-readable output
I noticed -cpu help printing enough trailing spaces to make the output
at least 84 characters wide.  Looks ugly unless the terminal is wider.
Ugly or not, trailing spaces are stupid.

The culprit is this line in x86_cpu_list_entry():

    qemu_printf("x86 %-20s  %-58s\n", name, desc);

This prints a string with minimum field left-justified right before a
newline.  Change it to

    qemu_printf("x86 %-20s  %s\n", name, desc);

which avoids the trailing spaces and is simpler to boot.

A search for the pattern with "git-grep -E '%-[0-9]+s\\n'" found a few
more instances.  Change them similarly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20211009152401.2982862-1-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-10-31 21:05:40 +01:00
..
core-dc232b meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-dc233c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de212 meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de233_fpu target/xtensa: import de233_fpu core 2020-08-21 12:53:48 -07:00
core-dsp3400 target/xtensa: import DSP3400 core 2020-08-21 12:56:45 -07:00
core-fsf meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-sample_controller meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_kc705_be meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_mmuhifi_c3 meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-dc232b.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-dc233c.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de212.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-de233_fpu.c target/xtensa: import de233_fpu core 2020-08-21 12:53:48 -07:00
core-dsp3400.c target/xtensa: import DSP3400 core 2020-08-21 12:56:45 -07:00
core-fsf.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-sample_controller.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_kc705_be.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
core-test_mmuhifi_c3.c meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
cores.list target/xtensa: list cores in a text file 2021-10-05 13:10:29 +02:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c target/xtensa: Restrict cpu_exec_interrupt() handler to sysemu 2021-09-14 12:00:21 -07:00
cpu.h hw/core: Make do_unaligned_access noreturn 2021-09-21 19:36:44 -07:00
dbg_helper.c target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
exc_helper.c target/xtensa: Restrict cpu_exec_interrupt() handler to sysemu 2021-09-14 12:00:21 -07:00
fpu_helper.c target/xtensa: implement FPU division and square root 2020-08-21 12:48:15 -07:00
gdbstub.c xtensa tcg cpus: Fix Lesser GPL version number 2020-11-15 16:40:15 +01:00
helper.c target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00
helper.h target/xtensa: implement FPU division and square root 2020-08-21 12:48:15 -07:00
import_core.sh target/xtensa: list cores in a text file 2021-10-05 13:10:29 +02:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build target/xtensa: list cores in a text file 2021-10-05 13:10:29 +02:00
mmu_helper.c monitor: Trim some trailing space from human-readable output 2021-10-31 21:05:40 +01:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
op_helper.c Do not include exec/address-spaces.h if it's not really necessary 2021-05-02 17:24:51 +02:00
overlay_tool.h target/xtensa: add DFPU registers and opcodes 2020-08-21 12:48:15 -07:00
translate.c target/xtensa: Drop check for singlestep_enabled 2021-10-15 16:39:15 -07:00
win_helper.c target/xtensa: only rotate window in the retw helper 2019-02-28 04:43:22 -08:00
xtensa-isa-internal.h Clean up decorations and whitespace around header guards 2019-05-13 08:58:55 +02:00
xtensa-isa.c Clean up includes 2018-02-09 05:05:11 +01:00
xtensa-isa.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
xtensa-semi.c target/xtensa/xtensa-semi: Fix compilation problem on Haiku 2021-07-09 18:42:46 +02:00