You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -502,7 +502,7 @@ Advantages: saves time and disk space.
502
502
503
503
Limitations:
504
504
505
-
* can't GDB step debug the kernel, since the source and cross toolchain with GDB are not available. Buildroot cannot easily use a host toolchain: <<prebuilt-toolchain>>.
505
+
* can't <<gdb,GDB step debug the kernel>>, since the source and cross toolchain with GDB are not available. Buildroot cannot easily use a host toolchain: <<prebuilt-toolchain>>.
506
506
+
507
507
Maybe we could work around this by just downloading the kernel source somehow, and using a host prebuilt GDB, but we felt that it would be too messy and unreliable.
508
508
* can't create new modules or modify the existing ones, since no cross toolchain
@@ -623,7 +623,7 @@ dmesg
623
623
624
624
=== GDB step debug kernel boot
625
625
626
-
`-d` makes QEMU wait for a GDB connection, otherwise we could accidentally go past the point we want to break at:
626
+
`--debug-guest` makes QEMU wait for a GDB connection, otherwise we could accidentally go past the point we want to break at:
627
627
628
628
....
629
629
./run --debug-guest
@@ -644,9 +644,9 @@ or at a given line:
644
644
Now QEMU will stop there, and you can use the normal GDB commands:
645
645
646
646
....
647
-
l
648
-
n
649
-
c
647
+
list
648
+
next
649
+
continue
650
650
....
651
651
652
652
See also:
@@ -705,8 +705,6 @@ When you hit `Ctrl-C`, if we happen to be inside kernel code at that point, whic
0 commit comments