.gdbinit

来自「Micrium提供的专门针对ucos操作系统的TCP/IP协议栈 ucip」· GDBINIT 代码 · 共 57 行

GDBINIT
57
字号
#
#*********************************************************************************************************
#*
#*                                             EXAMPLE CODE
#*
#*                          (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
#*
#*               All rights reserved.  Protected by international copyright laws.
#*
#*               Knowledge of the source code may NOT be used to develop a similar product.
#*
#*               Please help us continue to provide the Embedded community with the finest
#*               software available.  Your honesty is greatly appreciated.
#*********************************************************************************************************
#

#
#*********************************************************************************************************
#*
#*                                         DEBUG STARTUP SCRIPT
#*
#* Filename      : .gdbinit
#* Version       : V1.88
#* Programmer(s) : Jean-Denis Hatier
#*********************************************************************************************************
#

echo Setting up Micrium debugging environment...\n

dir .
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 + -
显示快捷键?