File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -95,3 +95,29 @@ set python print-stack full
95
95
96
96
If you're running into this often (i.e. when developing on the utilities), you
97
97
can add this to your `~/.gdbinit` file.
98
+
99
+ ### GDB keeps prompting about pagination (e.g. "press 'C' to continue without paging")
100
+
101
+ Add this to your `~/.gdbinit` file:
102
+
103
+ ```
104
+ set pagination off
105
+ ```
106
+
107
+ ### It's hard to debug the assembly in the kernel vs gdb due to syntax.
108
+
109
+ Add this to your `~/.gdbinit` file or run it manually:
110
+
111
+ ```
112
+ set disassembly-flavor intel
113
+ ```
114
+
115
+ ### I want to run the kernel from the CLI in one command.
116
+
117
+ You can append `-ex <cmd>` to the command line, multiple times if need be,
118
+ to run the command after the inferior (kernel) and `~/.gdbinit` have been
119
+ loaded:
120
+
121
+ ```
122
+ gdb path/to/kernel -ex 'oro boot limine'
123
+ ```
You can’t perform that action at this time.
0 commit comments