From 58dd2e9725b7ba05238f12a4432a83740eff7511 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 1 Oct 2023 02:47:29 -0600 Subject: Makefile: set proper paths for linux boot --- sim/gdbstub.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sim/gdbstub.py') diff --git a/sim/gdbstub.py b/sim/gdbstub.py index e7791bc..3bd078c 100644 --- a/sim/gdbstub.py +++ b/sim/gdbstub.py @@ -1,7 +1,12 @@ import sys, socket, traceback +loads = {0x0100000: 'build/uImage', + 0x1000000: 'build/initrd.img', + } + cycles = None enable_tty = True +enable_video = True start_halted = True sock, client = None, None @@ -23,10 +28,7 @@ def fatal(): def do_output(text): if text is None: return not is_halted() - - print(text, file=sys.stderr, end='') - - if not client: + elif not client: return False reply(b'O' + hexout(text.encode('ascii'))) -- cgit v1.2.3