summaryrefslogtreecommitdiff
path: root/Meta/debug-kernel.sh
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2021-03-07 12:37:29 -0700
committerAndreas Kling <kling@serenityos.org>2021-03-09 07:28:59 +0100
commit389dddd4b372b3d29e1629a97315e7432e3f04f1 (patch)
treedf41bbd510d4c9da687ca9034e90bd78573b94d3 /Meta/debug-kernel.sh
parentb07310dc8b5a5449601a33ce4127faefa13dd17b (diff)
downloadserenity-389dddd4b372b3d29e1629a97315e7432e3f04f1.zip
Meta: Add a build helper script
This script automatically manages the toolchain and cmake/ninja folders making it easier to manage the different target architectures.
Diffstat (limited to 'Meta/debug-kernel.sh')
-rwxr-xr-xMeta/debug-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh
index ea83ea2c87..471808e358 100755
--- a/Meta/debug-kernel.sh
+++ b/Meta/debug-kernel.sh
@@ -9,6 +9,6 @@
# the debugger which binary to load symbols, etc from.
#
$SERENITY_KERNEL_DEBUGGER \
- -ex "file $(dirname "$0")/../Build/Kernel/Kernel" \
+ -ex "file $(dirname "$0")/../Build/${SERENITY_ARCH:-i686}/Kernel/Kernel" \
-ex 'set arch i386:intel' \
-ex 'target remote localhost:1234'