Commit 7b9f9963 authored by Tiger1218's avatar Tiger1218
Browse files

chores: remove rungdb.sh; merge into Makefile

Showing with 2 additions and 14 deletions
+2 -14
include scripts/main.mk
PARTS = core lolibc driver
RSHELL := konsole
all: build
......@@ -27,7 +28,7 @@ debug: build
make -C tools/
cp tools/kernel.img /tmp/qemu/2k1000/2kfs.img
@echo 'scsi reset; ext4load scsi 0:0 0x9000000008000000 /boot/kernel.bin ; go 0x9000000008000000' | wl-copy
alacritty -e './rungdb.sh' &
$(RSHELL) -e '/opt/gdb/bin/loongarch64-unknown-linux-gnu-gdb build/kernel -ex "target remote 127.0.0.1:3456"' &
(cd /tmp/qemu ; ./runqemu-debug)
make_dir:
......
#! /bin/sh
#
# rungdb.sh
# Copyright (C) 2024 Tiger1218 <tiger1218@foxmail.com>
#
# Distributed under terms of the GNU AGPLv3 license.
#
# loongarch64-unknown-linux-gnu-gdb build/kernel -ex "target remote 127.0.0.1:3456"
/opt/gdb/bin/loongarch64-unknown-linux-gnu-gdb build/kernel -ex "target remote 127.0.0.1:3456"
# /home/tiger1218/repos/loongarch-gcc/loongson-gnu-toolchain-8.3-x86_64-loongarch64-linux-gnu-rc1.3-1/bin/loongarch64-linux-gnu-gdb build/kernel -ex "target remote 127.0.0.1:3456"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment