mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-13 21:25:07 -07:00
More debugger and generated files for cmake and made a Makefile and fixed compile_commands.json
This commit is contained in:
32
.gdbinit
32
.gdbinit
@@ -0,0 +1,32 @@
|
||||
# Set the architecture
|
||||
set architecture i386
|
||||
|
||||
# Set the disassembly flavor
|
||||
set disassembly-flavor intel
|
||||
|
||||
# Set the prompt
|
||||
set prompt (gdb)
|
||||
|
||||
# Set the history file
|
||||
set history save on
|
||||
set history filename ~/.gdb_history
|
||||
set history size 1000
|
||||
|
||||
# Set the default file search path
|
||||
set solib-search-path .
|
||||
|
||||
# Set the default directory
|
||||
cd /path/to/project
|
||||
|
||||
# Set the default target
|
||||
file kernel
|
||||
|
||||
# Set the symbol file
|
||||
symbol-file kernel
|
||||
|
||||
# Set the debugging options
|
||||
set disassemble-next-line on
|
||||
set print pretty on
|
||||
|
||||
# Set breakpoints
|
||||
break main
|
Reference in New Issue
Block a user