.gdbinit
来自「ucOSii在at91rm9200上的移植代码」· GDBINIT 代码 · 共 48 行
GDBINIT
48 行
#********************************************************************************************************
# uC/OS-II
# The Real-Time Kernel
#
# (c) Copyright 2003, Micrium, Inc., Weston, FL
# (c) Copyright 2003, JIDEC Consultants, Sherbrooke, QC
# All Rights Reserved
#
# Debug Startup Script
#
#
#
# File : DEBUG.CMD
# Originally by: Jean-Denis Hatier
#
#********************************************************************************************************
echo Setting up Micrium debugging environment...\ndir .set prompt (arm-ocd-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 localhost: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 + =
减小字号Ctrl + -
显示快捷键?