[TODO][QoL] add a .gdbinit
- Dominant language
- C
- Stars
- 12
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Sample:
```gdb
# Set the architecture
set architecture i386
# Set the disassembly flavor
set disassembly-flavor intel
set disassemble-next-line
set pagination enable
set print address
set logging enable
set logging file gdb.log
# 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
d /home/user/Documents/ClassicOS
# Set the default target
file ClassicOS/build/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
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the supplied GDB sample and the requested .gdbinit, reviewing each setting against the project's x86 kernel debugging setup. Done means the repository contains a usable .gdbinit with the intended architecture, disassembly, logging, paths, symbols, and breakpoint settings.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100