summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorFinn Thain <fthain@linux-m68k.org>2025-03-28 09:39:55 +1100
committerGeert Uytterhoeven <geert@linux-m68k.org>2025-07-06 12:50:50 +0200
commit0da6458417d74449e5daf845cdd4eb4d6ec6ec87 (patch)
treec5ff8078ade2fc0cfb5c3fc48aa03ada8e959704 /scripts/gdb
parent210a1ce8ed4391b64a888b3fb4b5611a13f5ccc7 (diff)
m68k: Avoid pointless recursion in debug console rendering
The recursive call to console_putc to effect a carriage return is needlessly slow and complicated. Instead, just clear the column counter directly. Setup %a0 earlier to avoid a repeated comparison. Signed-off-by: Finn Thain <fthain@linux-m68k.org> Tested-by: Stan Johnson <userm57@yahoo.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/a6104f41918bed4fd17f92c45df94ac7a5d30e40.1743115195.git.fthain@linux-m68k.org Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions