mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
14
Meta/debug-kernel.sh
Executable file
14
Meta/debug-kernel.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Set this environment variable to override the default debugger.
|
||||
#
|
||||
[ -z "$SERENITY_KERNEL_DEBUGGER" ] && SERENITY_KERNEL_DEBUGGER="gdb"
|
||||
|
||||
# The QEMU -s option (enabled by default in ./run) sets up a debugger
|
||||
# remote on localhost:1234. So point our debugger there, and inform
|
||||
# the debugger which binary to load symbols, etc from.
|
||||
#
|
||||
$SERENITY_KERNEL_DEBUGGER \
|
||||
-ex "file $(pwd)/kernel" \
|
||||
-ex 'set arch i386:intel' \
|
||||
-ex 'target remote localhost:1234'
|
Loading…
Add table
Add a link
Reference in a new issue