📄 .gdbinit
字号:
#*********************************************************************************************************
#* uC/TCP-IP
#* The Embedded TCP/IP Suite
#*
#* (c) Copyright 2003-2005; Micrium, Inc.; Weston, FL
#*
#* All rights reserved. Protected by international copyright laws.
#* Knowledge of the source code may not be used to write a similar
#* product. This file may only be used in accordance with a license
#* and should not be redistributed in any way.
#*********************************************************************************************************
#*********************************************************************************************************
#* DEBUG STARTUP SCRIPT
#*
#* Filename : debug-gdb.cmd
#* Version : V1.22
#* Programmer(s) : JDH
#*********************************************************************************************************
echo Setting up Micrium debugging environment...\n
dir .
set prompt arm-elf-gdb>
# Set max number of complaints about incorrect symbols.
set complaints 1
# Set default output radix for printing of values.
set output-radix 16
# Set default input radix for entering numbers.
set input-radix 16
# This connects to OCDLibRemote default port (8888).
target remote 192.168.3.99:8888
# Increase the packet size to improve download speed.
set remote memory-write-packet-size 1024
set remote memory-write-packet-size fixed
# Load the program executable.
load
# Set a breakpoint at main().
b main
# Execute until main().
c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -