mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
gdb: stub for testing userland
Not working because cannot find, requires moving --userland to common.py
This commit is contained in:
7
test-gdb
7
test-gdb
@@ -1,6 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eux
|
||||
for emulator in --qemu --gem5; do
|
||||
# Userland.
|
||||
# TODO make work.
|
||||
#./run --arch x86_64 --background --userland add "$emulator" --wait-gdb &
|
||||
#./run-gdb --arch x86_64 --userland add "$emulator" --test "$@"
|
||||
#wait
|
||||
|
||||
# Baremetal.
|
||||
./run --arch arm --background --baremetal add "$emulator" --wait-gdb &
|
||||
./run-gdb --arch arm --baremetal add "$emulator" --test "$@"
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user