example.gdbinit
来自「microwindows移植到S3C44B0的源码」· GDBINIT 代码 · 共 32 行
GDBINIT
32 行
# Copy this file to `.gdbinit' in the directory where you will run linux# (for instance, the top-level of the kernel build tree). Invoking gdb# will then start the simulator and load linux into it. You should# start gdb using a command like `v850e-elf-gdb linux'.set height 0set pagination offdisp/i $pctarget simsim architecture v850esim memory delete allsim memory region 0,0xe0sim memory region 0x8F000000,0x01000000sim memory region 0xFFFF0000,0x10000# Protect the kernel's text segment against writing. These addresses# are somewhat conservative, but might need to be changed if the kernel# text-segment shrinks appreciably.#sim read-protect-low-memory 0x4a000#sim write-protect-low-memory 0x4a000# 24Hz @1/10 speed = 2.4Hzsim watch-clock-intov1 +420sim stdio off# Change `linux' to match the name of the file containing the kernel.load linux
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?