We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01396b3 commit 67f7909Copy full SHA for 67f7909
.gdbinit.tmpl
@@ -1,9 +1,5 @@
1
set $lastcs = -1
2
3
-# This fails on Darwin because the default gdb has no ELF support
4
-# echo + symbol-file obj/kern/kernel\n
5
-# symbol-file obj/kern/kernel
6
-
7
define hook-stop
8
# There doesn't seem to be a good way to detect if we're in 16- or
9
# 32-bit mode, but in 32-bit mode we always run with CS == 8 in the
@@ -26,3 +22,6 @@ end
26
22
27
23
echo + target remote localhost:1234\n
28
24
target remote localhost:1234
25
+
+echo + symbol-file kernel\n
+symbol-file kernel
0 commit comments