mirror of
https://github.com/llenotre/maestro.git
synced 2024-10-05 16:37:42 +03:00
fix(gdb.sh
): architecture selection
This commit is contained in:
parent
7da67c409a
commit
866c8065ce
@ -6,13 +6,14 @@
|
||||
# - ARCH: specifies the architecture to build for
|
||||
# - AUX_ELF: specifies the path to an auxiliary ELF file whose symbols will be added to gdb
|
||||
|
||||
export QEMUFLAGS="$QEMUFLAGS -s -S -d int"
|
||||
setsid cargo run $CARGOFLAGS >qemu.log 2>&1 &
|
||||
QEMU_PID=$!
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
ARCH="x86_64"
|
||||
fi
|
||||
|
||||
export QEMUFLAGS="$QEMUFLAGS -s -S -d int"
|
||||
setsid cargo run $CARGOFLAGS --target arch/$ARCH/$ARCH.json >qemu.log 2>&1 &
|
||||
QEMU_PID=$!
|
||||
|
||||
KERN_PATH="target/$ARCH/debug/maestro"
|
||||
|
||||
if ! [ -z "$AUX_ELF" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user