Skip to content

Commit cf93104

Browse files
committed
Lab-3: automate the operations
1 parent 2d2d49c commit cf93104

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lab-3/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ fibseq.o: fibseq.c
2323
clean:
2424
rm -f $(objects) fibseq
2525

26-
QEMU_CMD = qemu-arm -g 1234 -L /usr/arm-linux-gnueabihf ./fibseq
26+
QEMU_CMD = qemu-arm -x gdbscript -g 1234 -L /usr/arm-linux-gnueabihf ./fibseq &
2727
CMD = yes 9 | $(call QEMU_CMD) && sleep 1
2828
qemu: fibseq
29-
$(call QEMU_CMD)
29+
yes 7 | $(call QEMU_CMD)
30+
arm-none-eabi-gdb fibseq

lab-3/gdbscript

Whitespace-only changes.

0 commit comments

Comments
 (0)