List of classes of commands:
# 命令类别列表:
aliases -- Aliases of other commands # 其他命令的别名
breakpoints -- Making program stop at certain points # 使程序在某些点停止
data -- Examining data # 检查数据
files -- Specifying and examining files # 指定和检查文件
internals -- Maintenance commands # 维护命令
obscure -- Obscure features # 晦涩的特征
running -- Running the program # 运行程序
stack -- Examining the stack # 检查堆栈
status -- Status inquiries # 状态查询
support -- Support facilities # 支持设施
tracepoints -- Tracing of program execution without stopping the program # 在不停止程序的情况下跟踪程序执行
user-defined -- User-defined commands # 用户定义的命令
Type "help" followed by a class name for a list of commands in that class.
# 键入“help”,后跟类名,以获取该类中的命令列表。
Type "help all"for the list of all commands.
# 为所有命令的列表键入“help all”。
Type "help" followed by command name for full documentation.
# 键入“help”,后跟命令名称以获取完整文档。
Type "apropos word" to search for commands related to "word".# 键入“apropos word”以搜索与“word”相关的命令。
Command name abbreviations are allowed if unambiguous.
# 如果明确,则允许使用命令名称缩写。
二、help all
1、aliases 命令类
Command class: aliases(别名)
ni -- Step one instruction # 单步指令
rc -- Continue program being debugged but run it in reverse # 继续正在调试的程序,但反向运行
rni -- Step backward one instruction # 后退一条指令
rsi -- Step backward exactly one instruction # 准确后退一条指令
si -- Step one instruction exactly # 准确单步指令
stepping -- Specify single-stepping behavior at a tracepoint # 在跟踪点指定单步行为
tp -- Set a tracepoint at specified location # 在指定位置设置跟踪点tty -- Set terminal for future runs of program being debugged # 为正在调试的程序的未来运行设置终端
where -- Print backtrace of all stack frames # 打印所有堆栈帧的回溯
ws -- Specify single-stepping behavior at a tracepoint # 在跟踪点指定单步行为
2、breakpoints 命令类
Command class: breakpoints(断点)
awatch -- Set a watchpoint for an expression # 为表达式设置观察点break -- Set breakpoint at specified location # 在指定位置设置断点
break-range -- Set a breakpoint for an address range # 为地址范围设置断点
catch -- Set catchpoints to catch events # 设置捕捉点以捕捉事件
catch assert -- Catch failed Ada assertions # 捕获失败的 Ada 断言
catch catch -- Catch an exception # 捕捉异常
catch exception -- Catch Ada exceptions # 捕捉 Ada 异常
catch exec -- Catch calls to exec# 捕获对 exec 的调用
catch fork -- Catch calls to fork # 捕获对 fork 的调用
catch load -- Catch loads of shared libraries # 捕获共享库的加载
catch rethrow -- Catch an exception # 捕捉异常
catch signal -- Catch signals by their names and/or numbers # 通过信号的名称和/或编号捕捉信号
catch syscall -- Catch system calls by their names # 按名称捕获系统调用
catch throw -- Catch an exception # 捕捉异常
catch unload -- Catch unloads of shared libraries # 捕获共享库的卸载
catch vfork -- Catch calls to vfork # 捕获对 vfork 的调用clear -- Clear breakpoint at specified location # 清除指定位置的断点
commands -- Set commands to be executed when a breakpoint is hit # 设置命中断点时要执行的命令
condition -- Specify breakpoint number N to break only if COND is true# 指定断点编号 N 仅在 COND 为真时才中断
delete -- Delete some breakpoints or auto-display expressions # 删除一些断点或自动显示表达式
delete bookmark -- Delete a bookmark from the bookmark list # 从书签列表中删除书签
delete breakpoints -- Delete some breakpoints or auto-display expressions # 删除一些断点或自动显示表达式
delete checkpoint -- Delete a checkpoint (experimental)# 删除检查点(实验性)
delete display -- Cancel some expressions to be displayed when program stops # 取消程序停止时显示的部分表达式
delete mem -- Delete memory region # 删除内存区域
delete tracepoints -- Delete specified tracepoints # 删除指定的跟踪点
delete tvariable -- Delete one or more trace state variables # 删除一个或多个跟踪状态变量
disable -- Disable some breakpoints # 禁用一些断点
disable breakpoints -- Disable some breakpoints # 禁用一些断点
disable display -- Disable some expressions to be displayed when program stops # 禁用程序停止时显示的某些表达式
disable frame-filter -- GDB command to disable the specified frame-filter # GDB 命令禁用指定的帧过滤器
disable mem -- Disable memory region # 禁用内存区域
disable pretty-printer -- GDB command to disable the specified pretty-printer # GDB 命令禁用指定的漂亮打印机
disable probes -- Disable probes # 禁用探针
disable type-printer -- GDB command to disable the specified type-printer # GDB 命令禁用指定的类型打印机
disable unwinder -- GDB command to disable the specified unwinder # GDB 命令禁用指定的展开器
disable xmethod -- GDB command to disable a specified (group of) xmethod(s)# GDB命令禁用指定组的xmethod
dprintf -- Set a dynamic printf at specified location # 在指定位置设置动态 printfenable -- Enable some breakpoints # 启用一些断点enable breakpoints -- Enable some breakpoints # 启用一些断点enable breakpoints count -- Enable breakpoints for COUNT hits # 为 COUNT 个命中启用断点enable breakpoints delete -- Enable breakpoints and delete when hit # 启用断点并在命中时删除enable breakpoints once -- Enable breakpoints for one hit # 为一次命中启用断点enable count -- Enable breakpoints for COUNT hits # 为 COUNT 个命中启用断点enable delete -- Enable breakpoints and delete when hit # 启用断点并在命中时删除enable display -- Enable some expressions to be displayed when program stops # 使某些表达式在程序停止时显示enable frame-filter -- GDB command to disable the specified frame-filter # GDB 命令禁用指定的帧过滤器enable mem -- Enable memory region # 启用内存区域enable once -- Enable breakpoints for one hit # 为一次命中启用断点enable pretty-printer -- GDB command to enable the specified pretty-printer # GDB 命令启用指定的漂亮打印机enable probes -- Enable probes # 启用探针enable type-printer -- GDB command to enable the specified type printer # GDB 命令启用指定类型的打印机enable unwinder -- GDB command to enable unwinders # 启用展开器的 GDB 命令enable xmethod -- GDB command to enable a specified (group of) xmethod(s)# GDB命令启用一组指定的xmethod
ftrace -- Set a fast tracepoint at specified location # 在指定位置设置快速跟踪点
hbreak -- Set a hardware assisted breakpoint # 设置硬件辅助断点
ignore -- Set ignore-count of breakpoint number N to COUNT # 将断点编号 N 的忽略计数设置为 COUNT
rbreak -- Set a breakpoint for all functions matching REGEXP # 为所有匹配 REGEXP 的函数设置断点
rwatch -- Set a read watchpoint for an expression # 为表达式设置读取观察点
save -- Save breakpoint definitions as a script # 将断点定义保存为脚本
save breakpoints -- Save current breakpoint definitions as a script # 将当前断点定义保存为脚本
save gdb-index -- Save a gdb-index file# 保存 gdb-index 文件
save tracepoints -- Save current tracepoint definitions as a script # 将当前跟踪点定义保存为脚本
skip -- Ignore a functionwhile stepping # 单步时忽略函数
skip delete -- Delete skip entries # 删除跳过条目
skip disable -- Disable skip entries # 禁用跳过条目
skip enable -- Enable skip entries # 启用跳过条目
skip file -- Ignore a filewhile stepping # 单步时忽略文件
skip function -- Ignore a functionwhile stepping # 单步时忽略函数strace -- Set a static tracepoint at location or marker # 在位置或标记处设置静态跟踪点
tbreak -- Set a temporary breakpoint # 设置临时断点
tcatch -- Set temporary catchpoints to catch events # 设置临时捕捉点来捕捉事件
tcatch assert -- Catch failed Ada assertions # 捕获失败的 Ada 断言
tcatch catch -- Catch an exception # 捕捉异常
tcatch exception -- Catch Ada exceptions # 捕捉 Ada 异常
tcatch exec -- Catch calls to exec# 捕获对 exec 的调用
tcatch fork -- Catch calls to fork # 捕获对 fork 的调用
tcatch load -- Catch loads of shared libraries # 捕获共享库的加载
tcatch rethrow -- Catch an exception # 捕捉异常
tcatch signal -- Catch signals by their names and/or numbers # 通过信号的名称和/或编号捕捉信号
tcatch syscall -- Catch system calls by their names # 按名称捕获系统调用
tcatch throw -- Catch an exception # 捕捉异常
tcatch unload -- Catch unloads of shared libraries # 捕获共享库的卸载
tcatch vfork -- Catch calls to vfork # 捕获对 vfork 的调用
thbreak -- Set a temporary hardware assisted breakpoint # 设置临时硬件辅助断点
trace -- Set a tracepoint at specified location # 在指定位置设置跟踪点watch -- Set a watchpoint for an expression # 为表达式设置观察点
3、data 命令类
Command class: data(数据)
agent-printf -- Agent-printf "printf format string"# 代理打印“打印格式为字符串”
append -- Append target code/data to a localfile# 将目标代码/数据附加到本地文件
append binary -- Append target code/data to a raw binary file# 将目标代码/数据附加到原始二进制文件
append binary memory -- Append contents of memory to a raw binary file# 将内存内容附加到原始二进制文件
append binary value -- Append the value of an expression to a raw binary file# 将表达式的值附加到原始二进制文件
append memory -- Append contents of memory to a raw binary file# 将内存内容附加到原始二进制文件
append value -- Append the value of an expression to a raw binary file# 将表达式的值附加到原始二进制文件
call -- Call a functionin the program # 在程序中调用函数
disassemble -- Disassemble a specified section of memory # 拆解指定的内存段
display -- Print value of expression EXP each time the program stops # 每次程序停止时打印表达式 EXP 的值
dump -- Dump target code/data to a localfile# 将目标代码/数据转储到本地文件
dump binary -- Write target code/data to a raw binary file# 将目标代码/数据写入原始二进制文件
dump binary memory -- Write contents of memory to a raw binary file# 将内存内容写入原始二进制文件
dump binary value -- Write the value of an expression to a raw binary file# 将表达式的值写入原始二进制文件
dump ihex -- Write target code/data to an intel hex file# 将目标代码/数据写入 intel hex 文件
dump ihex memory -- Write contents of memory to an ihex file# 将内存内容写入 ihex 文件
dump ihex value -- Write the value of an expression to an ihex file# 将表达式的值写入 hex 文件
dump memory -- Write contents of memory to a raw binary file# 将内存内容写入原始二进制文件
dump srec -- Write target code/data to an srec file# 将目标代码/数据写入 srec 文件
dump srec memory -- Write contents of memory to an srec file# 将内存内容写入 srec 文件
dump srec value -- Write the value of an expression to an srec file# 将表达式的值写入 srec 文件
dump tekhex -- Write target code/data to a tekhex file# 将目标代码/数据写入 tekhex 文件
dump tekhex memory -- Write contents of memory to a tekhex file# 将内存内容写入 tekhex 文件
dump tekhex value -- Write the value of an expression to a tekhex file# 将表达式的值写入 tekhex 文件
dump value -- Write the value of an expression to a raw binary file# 将表达式的值写入原始二进制文件
dump verilog -- Write target code/data to a verilog hex file# 将目标代码/数据写入verilog hex文件
dump verilog memory -- Write contents of memory to a verilog hex file# 将内存内容写入verilog hex文件
dump verilog value -- Write the value of an expression to a verilog hex file# 将表达式的值写入 verilog hex 文件
explore -- Explore a value or a type valid in the current context # 探索在当前上下文中有效的值或类型
explore type -- Explore a type or the type of an expression valid in the current # 探索在当前有效的类型或表达式的类型
explore value -- Explore value of an expression valid in the current context # 探索在当前上下文中有效的表达式的值find -- Search memory for a sequence of bytes # 在内存中搜索字节序列
init-if-undefined -- Initialize a convenience variable if necessary # 如有必要,初始化便利变量
mem -- Define attributes for memory region or reset memory region handling to # 定义内存区域的属性或将内存区域处理重置为
output -- Like "print" but don't put in value history and don't print newline # 像“print”,但不输入历史值,不打印换行符
print -- Print value of expression EXP # 打印表达式 EXP 的值
print-object -- Ask an Objective-C object to print itself # 让 Objective-C 对象打印自己printf -- Printf "printf format string"# 打印“打印格式为字符串”
ptype -- Print definition of type TYPE # 打印类型 TYPE 的定义
restore -- Restore the contents of FILE to target memory # 将 FILE 的内容恢复到目标内存set -- Evaluate expression EXP and assign result to variable VAR # 计算表达式 EXP 并将结果分配给变量 VARset ada -- Prefix commandfor changing Ada-specfic settings # 用于更改 Ada 特定设置的前缀命令set ada print-signatures -- Enable or disable the output of formal and return types forfunctionsin the overloads selection menu # 在重载选择菜单中启用或禁用函数的形式和返回类型的输出set ada trust-PAD-over-XVS -- Enable or disable an optimization trusting PAD types over XVS types # 启用或禁用优化信任 PAD 类型而不是 XVS 类型set agent -- Set debugger's willingness to use agent as a helper # 设置调试器使用代理作为助手
set annotate -- Set annotation_level # 设置注释级别
set architecture -- Set architecture of target # 设置目标架构
set args -- Set argument list to give program being debugged when it is started # 设置参数列表,让程序在启动时被调试
set auto-connect-native-target -- Set whether GDB may automatically connect to the native target # 设置 GDB 是否可以自动连接到本机目标
set auto-load -- Auto-loading specific settings # 自动加载特定设置
set auto-load gdb-scripts -- Enable or disable auto-loading of canned sequences of commands scripts # 启用或禁用自动加载预设的命令脚本序列
set auto-load libthread-db -- Enable or disable auto-loading of inferior specific libthread_db # 启用或禁用 inferior 特定 libthread_db 的自动加载
set auto-load local-gdbinit -- Enable or disable auto-loading of .gdbinit script in current directory # 在当前目录中启用或禁用 .gdbinit 脚本的自动加载
set auto-load python-scripts -- Set the debugger's behaviour regarding auto-loaded Python scripts # 设置调试器关于自动加载的 Python 脚本的行为set auto-load safe-path -- Set the list of files and directories that are safe for auto-loading # 设置自动加载安全的文件和目录列表set auto-load scripts-directory -- Set the list of directories from which to load auto-loaded scripts # 设置要从中加载自动加载脚本的目录列表set auto-solib-add -- Set autoloading of shared library symbols # 设置共享库符号的自动加载set backtrace -- Set backtrace specific variables # 设置回溯特定变量set backtrace limit -- Set an upper bound on the number of backtrace levels # 设置回溯级别数的上限set backtrace past-entry -- Set whether backtraces should continue past the entry point of a program # 设置回溯是否应该继续超过程序的入口点set backtrace past-main -- Set whether backtraces should continue past "main"# 设置回溯是否应该继续超过“main”set basenames-may-differ -- Set whether a sourcefile may have multiple base names # 设置一个源文件是否可以有多个基本名称set breakpoint -- Breakpoint specific settings # 断点特定设置set breakpoint always-inserted -- Set mode for inserting breakpoints # 设置插入断点的模式set breakpoint auto-hw -- Set automatic usage of hardware breakpoints # 设置自动使用硬件断点set breakpoint condition-evaluation -- Set mode of breakpoint condition evaluation # 设置断点条件评估模式set breakpoint pending -- Set debugger's behavior regarding pending breakpoints # 设置调试器关于挂起断点的行为
set can-use-hw-watchpoints -- Set debugger's willingness to use watchpoint hardware # 设置调试器是否愿意使用观察点硬件set case-sensitive -- Set case sensitivity in name search # 在名称搜索中设置区分大小写set charset -- Set the host and target character sets # 设置主机和目标字符集set check -- Set the status of the type/range checker # 设置类型/范围检查器的状态set check range -- Set range checking # 设置范围检查set check type -- Set strict type checking # 设置严格的类型检查set circular-trace-buffer -- Set target's use of circular trace buffer # 设置目标对循环跟踪缓冲区的使用
set code-cache -- Set cache use for code segment access # 为代码段访问设置缓存使用
set coerce-float-to-double -- Set coercion of floats to doubles when calling functions # 调用函数时将浮点数强制设置为双精度
set compile-args -- Set compile command GCC command-line arguments # 设置编译命令 GCC 命令行参数
set complaints -- Set max number of complaints about incorrect symbols # 设置有关错误符号的最大报错次数
set confirm -- Set whether to confirm potentially dangerous operations # 设置是否确认潜在危险操作
set cp-abi -- Set the ABI used for inspecting C++ objects # 设置用于检查 C++ 对象的 ABI
set data-directory -- Set GDB's data directory # 设置 GDB 的数据目录set dcache -- Use this command to set number of lines in dcache and line-size # 使用此命令设置 dcache 中的行数和行大小set dcache line-size -- Set dcache line size in bytes (must be power of 2)# 以字节为单位设置 dcache 行大小(必须是 2 的幂)set dcache size -- Set number of dcache lines # 设置 dcache 行数set debug -- Generic commandfor setting gdb debugging flags # 用于设置 gdb 调试标志的通用命令set debug arch -- Set architecture debugging # 设置架构调试set debug auto-load -- Set auto-load verifications debugging # 设置自动加载验证调试set debug bfd-cache -- Set bfd cache debugging # 设置 bfd 缓存调试set debug check-physname -- Set cross-checking of "physname" code against demangler # 设置“physname”代码对 demangler 的交叉检查set debug coff-pe-read -- Set coff PE read debugging # 设置 coff PE 读取调试set debug compile -- Set compile command debugging # 设置编译命令调试set debug displaced -- Set displaced stepping debugging # 设置位移步进调试set debug dwarf-die -- Set debugging of the DWARF DIE reader # 设置 DWARF DIE 阅读器的调试set debug dwarf-line -- Set debugging of the dwarf line reader # 设置dwarf行阅读器的调试set debug dwarf-read -- Set debugging of the DWARF reader # 设置 DWARF 阅读器的调试set debug entry-values -- Set entry values and tail call frames debugging # 设置入口值和尾调用帧调试set debug expression -- Set expression debugging # 设置表达式调试set debug frame -- Set frame debugging # 设置框架调试set debug infrun -- Set inferior debugging # 设置inferior调试set debug jit -- Set JIT debugging # 设置 JIT 调试set debug libthread-db -- Set libthread-db debugging # 设置 libthread-db 调试set debug lin-lwp -- Set debugging of GNU/Linux lwp module # 设置 GNU/Linux lwp 模块的调试set debug linux-namespaces -- Set debugging of GNU/Linux namespaces module # 设置 GNU/Linux 命名空间模块的调试set debug notification -- Set debugging of async remote notification # 设置异步远程通知的调试set debug observer -- Set observer debugging # 设置观察者调试set debug overload -- Set debugging of C++ overloading # 设置C++重载调试set debug parser -- Set parser debugging # 设置解析器调试set debug py-unwind -- Set Python unwinder debugging # 设置 Python unwinder 调试set debug record -- Set debugging of record/replay feature # 设置调试记录/回放功能set debug remote -- Set debugging of remote protocol # 设置远程协议调试set debug serial -- Set serial debugging # 设置串口调试set debug stap-expression -- Set SystemTap expression debugging # 设置 SystemTap 表达式调试set debug symbol-lookup -- Set debugging of symbol lookup # 设置符号查找的调试set debug symfile -- Set debugging of the symfile functions # 设置符号文件功能的调试set debug symtab-create -- Set debugging of symbol table creation # 设置符号表创建调试set debug target -- Set target debugging # 设置目标调试set debug timestamp -- Set timestamping of debugging messages # 设置调试消息的时间戳set debug varobj -- Set varobj debugging # 设置 varobj 调试set debug xml -- Set XML parser debugging # 设置 XML 解析器调试set debug-file-directory -- Set the directories where separate debug symbols are searched for# 设置搜索单独调试符号的目录set default-collect -- Set the list of expressions to collect by default # 设置默认收集的表达式列表set demangle-style -- Set the current C++ demangling style # 设置当前的 C++ 拆解样式set detach-on-fork -- Set whether gdb will detach the child of a fork # 设置 gdb 是否会分离一个 fork 的子节点set directories -- Set the search path for finding source files # 设置查找源文件的搜索路径set disable-randomization -- Set disabling of debuggee's virtual address space randomization # 设置禁用被调试者的虚拟地址空间随机化
set disassemble-next-line -- Set whether to disassemble next source line or insn when execution stops # 设置执行停止时是否反汇编下一个源代码行或insn
set disassembly-flavor -- Set the disassembly flavor # 设置反汇编格式
set disconnected-dprintf -- Set whether dprintf continues after GDB disconnects # 设置 GDB 断开连接后 dprintf 是否继续
set disconnected-tracing -- Set whether tracing continues after GDB disconnects # 设置GDB断开后是否继续跟踪
set displaced-stepping -- Set debugger's willingness to use displaced stepping # 设置调试器是否愿意使用移位步进set dprintf-channel -- Set the channel to use for dynamic printf# 设置用于动态 printf 的通道set dprintf-function -- Set the function to use for dynamic printf# 设置用于动态 printf 的函数set dprintf-style -- Set the style of usage for dynamic printf# 设置动态 printf 的使用风格set editing -- Set editing of command lines as they are typed # 在键入时设置命令行的编辑set endian -- Set endianness of target # 设置目标的字节顺序set environment -- Set environment variable value to give the program # 设置环境变量值给程序set exec-direction -- Set direction of execution # 设定执行方向set exec-done-display -- Set notification of completion for asynchronous execution commands # 设置异步执行命令的完成通知set exec-wrapper -- Set a wrapper for running programs # 设置运行程序的包装器set extended-prompt -- Set the extended prompt # 设置扩展提示set extension-language -- Set mapping between filename extension and source language # 设置文件扩展名和源语言之间的映射set filename-display -- Set how to display filenames # 设置如何显示文件名set follow-exec-mode -- Set debugger response to a program call of exec# 设置调试器对 exec 程序调用的响应set follow-fork-mode -- Set debugger response to a program call of fork or vfork # 设置调试器响应 fork 或 vfork 的程序调用set frame-filter -- Prefix commandfor'set' frame-filter related operations # 帧过滤器相关操作的前缀命令set frame-filter priority -- GDB command to set the priority of the specified frame-filter # GDB命令设置指定帧过滤器的优先级set gnutarget -- Set the current BFD target # 设置当前 BFD 目标set guile -- Prefix commandfor Guile preference settings # Guile 首选项设置的前缀命令set guile print-stack -- Set mode for Guile exception printing on error # 设置错误时 Guile 异常打印的模式set height -- Set number of lines in a page for GDB output pagination # 为 GDB 输出分页设置一页中的行数sethistory -- Generic commandfor setting commandhistory parameters # 用于设置命令历史参数的通用命令sethistory expansion -- Set history expansion on command input # 在命令输入上设置历史扩展sethistory filename -- Set the filename inwhich to record the commandhistory# 设置记录命令历史的文件名sethistory remove-duplicates -- Set how far back inhistory to lookfor and remove duplicate entries # 设置查找和删除重复条目的历史记录sethistory save -- Set saving of the history record on exit# 设置退出时保存历史记录sethistory size -- Set the size of the commandhistory# 设置命令历史的大小set host-charset -- Set the host character set# 设置主机字符集set inferior-tty -- Set terminal for future runs of program being debugged # 为正在调试的程序的未来运行设置终端set input-radix -- Set default input radix for entering numbers # 设置输入数字的默认输入基数set interactive-mode -- Set whether GDB's standard input is a terminal # 设置 GDB 的标准输入是否为终端
set language -- Set the current source language # 设置当前源语言
set libthread-db-search-path -- Set search path for libthread_db # 设置 libthread_db 的搜索路径
set listsize -- Set number of source lines gdb will list by default # 设置 gdb 默认列出的源代码行数
set logging -- Set logging options # 设置日志记录选项
set logging file -- Set the current logfile # 设置当前日志文件
set logging off -- Disable logging # 禁用日志记录
set logging on -- Enable logging # 开启日志记录
set logging overwrite -- Set whether logging overwrites or appends to the log file # 设置日志记录是覆盖还是附加到日志文件
set logging redirect -- Set the logging output mode # 设置日志输出模式
set max-completions -- Set maximum number of completion candidates # 设置完成候选的最大数量
set max-user-call-depth -- Set the max call depth for non-python/scheme user-defined commands # 为非 python/scheme 用户定义的命令设置最大调用深度
set max-value-size -- Set maximum sized value gdb will load from the inferior # 设置gdb 将从下级加载的最大大小的值
set may-insert-breakpoints -- Set permission to insert breakpoints in the target # 设置在目标中插入断点的权限
set may-insert-fast-tracepoints -- Set permission to insert fast tracepoints in the target # 设置在目标中插入快速跟踪点的权限
set may-insert-tracepoints -- Set permission to insert tracepoints in the target # 设置在目标中插入跟踪点的权限
set may-interrupt -- Set permission to interrupt or signal the target # 设置允许中断或向目标发出信号
set may-write-memory -- Set permission to write into target memory # 设置写入目标内存的权限
set may-write-registers -- Set permission to write into registers # 设置写入寄存器的权限
set mem -- Memory regions settings # 内存区域设置
set mem inaccessible-by-default -- Set handling of unknown memory regions # 设置未知内存区域的处理
set mi-async -- Set whether MI asynchronous mode is enabled # 设置是否开启 MI 异步模式
set mpx -- Set Intel Memory Protection Extensions specific variables # 设置英特尔内存保护扩展特定变量
set mpx bound -- Set the memory bounds for a given array/pointer storage in the bound table # 为绑定表中的给定数组/指针存储设置内存边界
set multiple-symbols -- Set the debugger behavior when more than one symbol are possible matches # 当多个符号可能匹配时设置调试器行为
set non-stop -- Set whether gdb controls the inferior in non-stop mode # 设置 gdb 是否在不间断模式下控制下级
set observer -- Set whether gdb controls the inferior in observer mode # 设置gdb是否在观察者模式下控制下等
set opaque-type-resolution -- Set resolution of opaque struct/class/union types (if set before loading symbols) # 设置不透明结构/类/联合类型的分辨率(如果在加载符号之前设置)
set osabi -- Set OS ABI of target # 设置目标的 OS ABI
set output-radix -- Set default output radix for printing of values # 设置打印值的默认输出基数
set overload-resolution -- Set overload resolution in evaluating C++ functions # 在评估 C++ 函数时设置重载分辨率
set pagination -- Set state of GDB output pagination # 设置 GDB 输出分页状态
set print -- Generic command for setting how things print # 用于设置打印方式的通用命令
set print address -- Set printing of addresses # 设置地址打印
set print array -- Set pretty formatting of arrays # 设置漂亮的数组格式
set print array-indexes -- Set printing of array indexes # 设置数组索引的打印
set print asm-demangle -- Set demangling of C++/ObjC names in disassembly listings # 在反汇编列表中设置 C++/ObjC 名称的拆解
set print demangle -- Set demangling of encoded C++/ObjC names when displaying symbols # 在显示符号时设置编码的 C++/ObjC 名称的解构
set print elements -- Set limit on string chars or array elements to print # 设置要打印的字符串字符或数组元素的限制
set print entry-values -- Set printing of function arguments at function entry # 在函数入口处设置函数参数的打印
set print frame-arguments -- Set printing of non-scalar frame arguments # 设置非标量框架参数的打印
set print inferior-events -- Set printing of inferior events # 设置打印inferior事件
set print max-symbolic-offset -- Set the largest offset that will be printed in <symbol+1234> form # 设置以<symbol+1234>形式打印的最大偏移量
set print null-stop -- Set printing of char arrays to stop at first null char # 将 char 数组的打印设置为在第一个 null char 处停止
set print object -- Set printing of object's derived type based on vtable info # 根据 vtable 信息设置对象派生类型的打印set print pascal_static-members -- Set printing of pascal static members # 设置pascal静态成员的打印set print pretty -- Set pretty formatting of structures # 设置漂亮的结构格式set print raw -- Generic commandfor setting what things to print in"raw" mode # 用于设置以“raw”模式打印的内容的通用命令set print raw frame-arguments -- Set whether to print frame arguments in raw form # 设置是否以原始格式打印框架参数set print repeats -- Set threshold for repeated print elements # 设置重复打印元素的阈值set print sevenbit-strings -- Set printing of 8-bit characters in strings as \nnn # 将字符串中 8 位字符的打印设置为 \nnnset print static-members -- Set printing of C++ static members # 设置 C++ 静态成员的打印set print symbol -- Set printing of symbol names when printing pointers # 打印指针时设置符号名称的打印set print symbol-filename -- Set printing of source filename and line number with <symbol># 使用 <symbol> 设置源文件名和行号的打印set print symbol-loading -- Set printing of symbol loading messages # 设置符号加载消息的打印set print thread-events -- Set printing of thread events (such as thread start and exit)# 设置线程事件的打印(如线程启动和退出)set print type -- Generic commandfor setting how types print # 用于设置类型打印方式的通用命令
show print type methods -- Set printing of methods defined in classes # 设置类中定义的方法的打印
show print type typedefs -- Set printing of typedefs defined in classes # 设置类中定义的 typedef 的打印set print union -- Set printing of unions interior to structures # 将联合体内部的打印设置为结构set print vtbl -- Set printing of C++ virtual function tables # 设置 C++ 虚函数表的打印set prompt -- Set gdb's prompt # 设置 gdb 的提示符
set python -- Prefix command for python preference settings # python首选项设置的前缀命令
set python print-stack -- Set mode for Python stack dump on error # 设置错误时 Python 堆栈转储的模式
set radix -- Set default input and output number radices # 设置默认输入和输出数基数
set range-stepping -- Enable or disable range stepping # 启用或禁用范围步进
set record -- Set record options # 设置记录选项
set record btrace -- Set record options # 设置记录选项
set record btrace bts -- Set record btrace bts options # 设置记录 btrace bts 选项
set record btrace bts buffer-size -- Set the record/replay bts buffer size # 设置记录/回放 bts 缓冲区大小
set record btrace pt -- Set record btrace pt options # 设置记录 btrace pt 选项
set record btrace pt buffer-size -- Set the record/replay pt buffer size # 设置记录/回放 pt 缓冲区大小
set record btrace replay-memory-access -- Set what memory accesses are allowed during replay # 设置重放期间允许的内存访问
set record full -- Set record options # 设置记录选项
set record full insn-number-max -- Set record/replay buffer limit # 设置记录/回访缓冲区限制
set record full memory-query -- Set whether query if PREC cannot record memory change of next instruction # 设置是否查询PREC是否无法记录下一条指令的内存变化
set record full stop-at-limit -- Set whether record/replay stops when record/replay buffer becomes full # 设置录制/回放缓冲区满时是否停止录制/回放
set record function-call-history-size -- Set number of function to print in "record function-call-history" # 在“记录函数调用历史”中设置要打印的函数数
set record instruction-history-size -- Set number of instructions to print in "record instruction-history" # 在“记录指令历史”中设置要打印的指令数
set remote -- Remote protocol specific variables # 远程协议特定变量
set remote P-packet -- Set use of remote protocol `P'(set-register) packet # 设置远程协议“P”(设置寄存器)数据包的使用set remote TracepointSource-packet -- Set use of remote protocol `TracepointSource' (TracepointSource) packet # 设置使用远程协议 `TracepointSource' (TracepointSource) 数据包
set remote X-packet -- Set use of remote protocol `X'(binary-download) packet # 设置远程协议“X”(二进制下载)数据包的使用set remote Z-packet -- Set use of remote protocol `Z' packets # 设置远程协议“Z”数据包的使用set remote access-watchpoint-packet -- Set use of remote protocol `Z4' (access-watchpoint) packet # 设置使用远程协议“Z4”(访问观察点)数据包
set remote agent-packet -- Set use of remote protocol `QAgent'(agent) packet # 设置使用远程协议“QAgent”(代理)数据包set remote allow-packet -- Set use of remote protocol `QAllow' (allow) packet # 设置使用远程协议“QAlow”(允许)数据包set remote attach-packet -- Set use of remote protocol `vAttach' (attach) packet # 设置使用远程协议`vAttach'(附加)数据包
set remote binary-download-packet -- Set use of remote protocol `X' (binary-download) packet # 设置远程协议“X”(二进制下载)数据包的使用set remote breakpoint-commands-packet -- Set use of remote protocol `BreakpointCommands' (breakpoint-commands) packet # 设置使用远程协议 `BreakpointCommands'(breakpoint-commands) 数据包
set remote btrace-conf-bts-size-packet -- Set use of remote protocol `Qbtrace-conf:bts:size' (btrace-conf-bts-size) packet # 设置使用远程协议 `Qbtrace-conf:bts:size' (btrace-conf-bts-size) 数据包
set remote btrace-conf-pt-size-packet -- Set use of remote protocol `Qbtrace-conf:pt:size'(btrace-conf-pt-size) packet # 设置使用远程协议 `Qbtrace-conf:pt:size' (btrace-conf-pt-size) 数据包set remote catch-syscalls-packet -- Set use of remote protocol `QCatchSyscalls' (catch-syscalls) packet # 设置使用远程协议 `QCatchSyscalls' (catch-syscalls) 数据包
set remote conditional-breakpoints-packet -- Set use of remote protocol `ConditionalBreakpoints'(conditional-breakpoints) packet # 设置使用远程协议`ConditionalBreakpoints'(条件断点)数据包set remote conditional-tracepoints-packet -- Set use of remote protocol `ConditionalTracepoints' (conditional-tracepoints) packet # 设置使用远程协议`ConditionalTracepoints'(条件跟踪点)数据包
set remote ctrl-c-packet -- Set use of remote protocol `vCtrlC'(ctrl-c) packet # 设置使用远程协议 `vCtrlC' (ctrl-c) 数据包set remote disable-btrace-packet -- Set use of remote protocol `Qbtrace:off' (disable-btrace) packet # 设置使用远程协议 `Qbtrace:off' (disable-btrace) 数据包
set remote disable-randomization-packet -- Set use of remote protocol `QDisableRandomization'(disable-randomization) packet # 设置使用远程协议 `QDisableRandomization' (disable-randomization) 数据包set remote enable-btrace-bts-packet -- Set use of remote protocol `Qbtrace:bts' (enable-btrace-bts) packet # 设置使用远程协议 `Qbtrace:bts' (enable-btrace-bts) 数据包
set remote enable-btrace-pt-packet -- Set use of remote protocol `Qbtrace:pt'(enable-btrace-pt) packet # 设置使用远程协议 `Qbtrace:pt' (enable-btrace-pt) 数据包set remote exec-event-feature-packet -- Set use of remote protocol `exec-event-feature' (exec-event-feature) packet # 设置使用远程协议 `exec-event-feature' (exec-event-feature) 数据包
set remote exec-file -- Set the remote pathname for "run" # 为“run”设置远程路径名
set remote fast-tracepoints-packet -- Set use of remote protocol `FastTracepoints'(fast-tracepoints) packet # 设置使用远程协议 `FastTracepoints' (fast-tracepoints) 数据包set remote fetch-register-packet -- Set use of remote protocol `p' (fetch-register) packet # 设置远程协议“p”(获取寄存器)数据包的使用set remote fork-event-feature-packet -- Set use of remote protocol `fork-event-feature' (fork-event-feature) packet # 设置使用远程协议 `fork-event-feature'(fork-event-feature) 数据包
set remote get-thread-information-block-address-packet -- Set use of remote protocol `qGetTIBAddr' (get-thread-information-block-address) packet # 设置使用远程协议 `qGetTIBAddr' (get-thread-information-block-address) 数据包
set remote get-thread-local-storage-address-packet -- Set use of remote protocol `qGetTLSAddr'(get-thread-local-storage-address) packet # 设置使用远程协议 `qGetTLSAddr' (get-thread-local-storage-address) 数据包set remote hardware-breakpoint-limit -- Set the maximum number of target hardware breakpoints # 设置目标硬件断点的最大数量set remote hardware-breakpoint-packet -- Set use of remote protocol `Z1' (hardware-breakpoint) packet # 设置使用远程协议“Z1”(硬件断点)数据包set remote hardware-watchpoint-length-limit -- Set the maximum length (in bytes) of a target hardware watchpoint # 设置目标硬件观察点的最大长度(以字节为单位)set remote hardware-watchpoint-limit -- Set the maximum number of target hardware watchpoints # 设置目标硬件观察点的最大数量set remote hostio-close-packet -- Set use of remote protocol `vFile:close' (hostio-close) packet # 设置使用远程协议 `vFile:close'(hostio-close) 数据包
set remote hostio-fstat-packet -- Set use of remote protocol `vFile:fstat' (hostio-fstat) packet # 设置使用远程协议 `vFile:fstat' (hostio-fstat) 数据包
set remote hostio-open-packet -- Set use of remote protocol `vFile:open'(hostio-open) packet # 设置使用远程协议 `vFile:open' (hostio-open) 数据包set remote hostio-pread-packet -- Set use of remote protocol `vFile:pread' (hostio-pread) packet # 设置使用远程协议 `vFile:pread' (hostio-pread) 数据包
set remote hostio-pwrite-packet -- Set use of remote protocol `vFile:pwrite'(hostio-pwrite) packet # 设置使用远程协议 `vFile:pwrite' (hostio-pwrite) 数据包set remote hostio-readlink-packet -- Set use of remote protocol `vFile:readlink' (hostio-readlink) packet # 设置使用远程协议 `vFile:readlink' (hostio-readlink) 数据包
set remote hostio-setfs-packet -- Set use of remote protocol `vFile:setfs'(hostio-setfs) packet # 设置使用远程协议 `vFile:setfs' (hostio-setfs) 数据包set remote hostio-unlink-packet -- Set use of remote protocol `vFile:unlink' (hostio-unlink) packet # 设置使用远程协议 `vFile:unlink' (hostio-unlink) 数据包
set remote hwbreak-feature-packet -- Set use of remote protocol `hwbreak-feature'(hwbreak-feature) packet # 设置使用远程协议`hwbreak-feature'(hwbreak-feature)数据包set remote install-in-trace-packet -- Set use of remote protocol `InstallInTrace' (install-in-trace) packet # 设置使用远程协议 `InstallInTrace' (install-in-trace) 数据包
set remote interrupt-on-connect -- Set whether interrupt-sequence is sent to remote target when gdb connects to # 设置 gdb 连接时是否发送中断序列到远程目标
set remote interrupt-sequence -- Set interrupt sequence to remote target # 将中断序列设置为远程目标
set remote kill-packet -- Set use of remote protocol `vKill'(kill) packet # 设置使用远程协议 `vKill' (kill) 数据包set remote library-info-packet -- Set use of remote protocol `qXfer:libraries:read' (library-info) packet # 设置使用远程协议 `qXfer:libraries:read' (library-info) 数据包
set remote library-info-svr4-packet -- Set use of remote protocol `qXfer:libraries-svr4:read'(library-info-svr4) packet # 设置使用远程协议 `qXfer:libraries-svr4:read' (library-info-svr4) 数据包set remote memory-map-packet -- Set use of remote protocol `qXfer:memory-map:read' (memory-map) packet # 设置使用远程协议 `qXfer:memory-map:read' (memory-map) 数据包
set remote memory-read-packet-size -- Set the maximum number of bytes per memory-read packet # 设置每个内存读取数据包的最大字节数
set remote memory-write-packet-size -- Set the maximum number of bytes per memory-write packet # 设置每个内存写入数据包的最大字节数
set remote multiprocess-feature-packet -- Set use of remote protocol `multiprocess-feature'(multiprocess-feature) packet # 设置使用远程协议`multiprocess-feature'(multiprocess-feature)数据包set remote no-resumed-stop-reply-packet -- Set use of remote protocol `N stop reply' (no-resumed-stop-reply) packet # 设置使用远程协议 `N stop reply' (no-resumed-stop-reply) 数据包
set remote noack-packet -- Set use of remote protocol `QStartNoAckMode'(noack) packet # 设置使用远程协议 `QStartNoAckMode' (noack) 数据包set remote osdata-packet -- Set use of remote protocol `qXfer:osdata:read' (osdata) packet # 设置使用远程协议 `qXfer:osdata:read' (osdata) 数据包
set remote p-packet -- Set use of remote protocol `p'(fetch-register) packet # 设置远程协议“p”(获取寄存器)数据包的使用set remote pass-signals-packet -- Set use of remote protocol `QPassSignals' (pass-signals) packet # 设置使用远程协议“QPassSignals”(传递信号)数据包set remote pid-to-exec-file-packet -- Set use of remote protocol `qXfer:exec-file:read' (pid-to-exec-file) packet # 设置使用远程协议 `qXfer:exec-file:read'(pid-to-exec-file) 数据包
set remote program-signals-packet -- Set use of remote protocol `QProgramSignals' (program-signals) packet # 设置使用远程协议“QProgramSignals”(程序信号)数据包set remote query-attached-packet -- Set use of remote protocol `qAttached' (query-attached) packet # 设置使用远程协议“qAttached”(附加查询)数据包
set remote read-aux-vector-packet -- Set use of remote protocol `qXfer:auxv:read'(read-aux-vector) packet # 设置使用远程协议 `qXfer:auxv:read' (read-aux-vector) 数据包set remote read-btrace-conf-packet -- Set use of remote protocol `qXfer:btrace-conf' (read-btrace-conf) packet # 设置使用远程协议 `qXfer:btrace-conf' (read-btrace-conf) 数据包
set remote read-btrace-packet -- Set use of remote protocol `qXfer:btrace'(read-btrace) packet # 设置使用远程协议 `qXfer:btrace' (read-btrace) 数据包set remote read-fdpic-loadmap-packet -- Set use of remote protocol `qXfer:fdpic:read' (read-fdpic-loadmap) packet # 设置使用远程协议 `qXfer:fdpic:read' (read-fdpic-loadmap) 数据包
set remote read-sdata-object-packet -- Set use of remote protocol `qXfer:statictrace:read'(read-sdata-object) packet # 设置使用远程协议 `qXfer:statictrace:read' (read-sdata-object) 数据包set remote read-siginfo-object-packet -- Set use of remote protocol `qXfer:siginfo:read' (read-siginfo-object) packet # 设置使用远程协议 `qXfer:siginfo:read' (read-siginfo-object) 数据包
set remote read-spu-object-packet -- Set use of remote protocol `qXfer:spu:read'(read-spu-object) packet # 设置使用远程协议 `qXfer:spu:read' (read-spu-object) 数据包set remote read-watchpoint-packet -- Set use of remote protocol `Z3' (read-watchpoint) packet # 设置使用远程协议“Z3”(读取观察点)数据包set remote reverse-continue-packet -- Set use of remote protocol `bc' (reverse-continue) packet # 设置使用远程协议“bc”(反向继续)数据包
set remote reverse-step-packet -- Set use of remote protocol `bs'(reverse-step) packet # 设置使用远程协议“bs”(反向步骤)数据包set remote run-packet -- Set use of remote protocol `vRun' (run) packet # 设置使用远程协议“vRun”(运行)数据包set remote search-memory-packet -- Set use of remote protocol `qSearch:memory' (search-memory) packet # 设置使用远程协议 `qSearch:memory'(search-memory) 数据包
set remote set-register-packet -- Set use of remote protocol `P' (set-register) packet # 设置远程协议“P”(设置寄存器)数据包的使用set remote software-breakpoint-packet -- Set use of remote protocol `Z0' (software-breakpoint) packet # 设置远程协议“Z0”(软件断点)数据包的使用
set remote static-tracepoints-packet -- Set use of remote protocol `StaticTracepoints'(static-tracepoints) packet # 设置使用远程协议 `StaticTracepoints' (static-tracepoints) 数据包set remote supported-packets-packet -- Set use of remote protocol `qSupported' (supported-packets) packet # 设置使用远程协议 `qSupported' (supported-packets) 数据包
set remote swbreak-feature-packet -- Set use of remote protocol `swbreak-feature'(swbreak-feature) packet # 设置使用远程协议`swbreak-feature'(swbreak-feature)数据包set remote symbol-lookup-packet -- Set use of remote protocol `qSymbol' (symbol-lookup) packet # 设置使用远程协议“qSymbol”(符号查找)数据包set remote system-call-allowed -- Set if the host system(3) call is allowed for the target # 设置是否允许目标的主机系统调用set remote target-features-packet -- Set use of remote protocol `qXfer:features:read' (target-features) packet # 设置使用远程协议 `qXfer:features:read'(target-features) 数据包
set remote thread-events-packet -- Set use of remote protocol `QThreadEvents' (thread-events) packet # 设置使用远程协议`QThreadEvents'(线程事件)数据包
set remote threads-packet -- Set use of remote protocol `qXfer:threads:read'(threads) packet # 设置使用远程协议 `qXfer:threads:read' (threads) 数据包set remote trace-buffer-size-packet -- Set use of remote protocol `QTBuffer:size' (trace-buffer-size) packet # 设置使用远程协议 `QTBuffer:size' (trace-buffer-size) 数据包
set remote trace-status-packet -- Set use of remote protocol `qTStatus'(trace-status) packet # 设置使用远程协议 `qTStatus' (trace-status) 数据包set remote traceframe-info-packet -- Set use of remote protocol `qXfer:traceframe-info:read' (traceframe-info) packet # 设置使用远程协议 `qXfer:traceframe-info:read' (traceframe-info) 数据包
set remote unwind-info-block-packet -- Set use of remote protocol `qXfer:uib:read'(unwind-info-block) packet # 设置使用远程协议 `qXfer:uib:read' (unwind-info-block) 数据包set remote verbose-resume-packet -- Set use of remote protocol `vCont' (verbose-resume) packet # 设置使用远程协议 `vCont' (verbose-resume) 数据包
set remote verbose-resume-supported-packet -- Set use of remote protocol `vContSupported'(verbose-resume-supported) packet # 设置使用远程协议 `vContSupported' (verbose-resume-supported) 数据包set remote vfork-event-feature-packet -- Set use of remote protocol `vfork-event-feature' (vfork-event-feature) packet # 设置使用远程协议 `vfork-event-feature' (vfork-event-feature) 数据包
set remote write-siginfo-object-packet -- Set use of remote protocol `qXfer:siginfo:write'(write-siginfo-object) packet # 设置使用远程协议 `qXfer:siginfo:write' (write-siginfo-object) 数据包set remote write-spu-object-packet -- Set use of remote protocol `qXfer:spu:write' (write-spu-object) packet # 设置使用远程协议 `qXfer:spu:write' (write-spu-object) 数据包
set remote write-watchpoint-packet -- Set use of remote protocol `Z2'(write-watchpoint) packet # 设置远程协议“Z2”(写观察点)数据包的使用set remoteaddresssize -- Set the maximum size of the address (in bits)in a memory packet # 设置内存包中地址的最大大小(以位为单位)set remotecache -- Set cache use for remote targets # 为远程目标设置缓存使用set remoteflow -- Set use of hardware flow control for remote serial I/O # 为远程串行 I/O 设置硬件流控制的使用set remotelogbase -- Set numerical base for remote session logging # 设置远程会话记录的数字基础set remotelogfile -- Set filename for remote session recording # 设置远程会话记录的文件名set remotetimeout -- Set timeout limit to waitfor target to respond # 设置超时限制以等待目标响应set remotewritesize -- Set the maximum number of bytes per memory write packet (deprecated)# 设置每个内存写入数据包的最大字节数(不推荐)set schedule-multiple -- Set mode for resuming threads of all processes # 设置恢复所有进程线程的模式set scheduler-locking -- Set mode for locking scheduler during execution # 设置执行期间锁定调度程序的模式set script-extension -- Set mode for script filename extension recognition # 设置脚本文件扩展名识别的模式set serial -- Set default serial/parallel port configuration # 设置默认串行/并行端口配置set serial baud -- Set baud rate for remote serial I/O # 设置远程串行 I/O 的波特率set serial parity -- Set parity for remote serial I/O # 为远程串行 I/O 设置奇偶校验set solib-absolute-prefix -- Set an alternate system root # 设置备用系统根目录set solib-search-path -- Set the search path for loading non-absolute shared library symbol files # 设置加载非绝对共享库符号文件的搜索路径set stack-cache -- Set cache use for stack access # 设置用于堆栈访问的缓存set startup-with-shell -- Set use of shell to start subprocesses # 设置使用 shell 来启动子进程set step-mode -- Set mode of the step operation # 设置步进操作模式set stop-on-solib-events -- Set stopping for shared library events # 为共享库事件设置停止set struct-convention -- Set the convention for returning small structs # 设置返回小结构的约定set substitute-path -- Usage: set substitute-path FROM TO # 用法:设置替换路径 FROM TOset sysroot -- Set an alternate system root # 设置备用系统根目录set target-charset -- Set the target character set# 设置目标字符集set target-file-system-kind -- Set assumed file system kind for target reported file names # 为目标报告的文件名设置假定的文件系统类型set target-wide-charset -- Set the target wide character set# 设置目标宽字符集set tcp -- TCP protocol specific variables # TCP 协议特定变量set tcp auto-retry -- Set auto-retry on socket connect # 在套接字连接上设置自动重试set tcp connect-timeout -- Set timeout limit in seconds for socket connection # 以秒为单位设置套接字连接的超时限制set tdesc -- Set target description specific variables # 设置目标描述特定变量set tdesc filename -- Set the file to readfor an XML target description # 将文件设置为读取 XML 目标描述set trace-buffer-size -- Set requested size of trace buffer # 设置请求的跟踪缓冲区大小set trace-commands -- Set tracing of GDB CLI commands # 设置 GDB CLI 命令的跟踪set trace-notes -- Set notes string to use for current and future trace runs # 设置注释字符串以用于当前和未来的跟踪运行set trace-stop-notes -- Set notes string to use for future tstop commands # 设置注释字符串以用于将来的 tstop 命令set trace-user -- Set the user name to use for current and future trace runs # 设置用于当前和未来跟踪运行的用户名set trust-readonly-sections -- Set mode for reading from readonly sections # 设置从只读部分读取的模式set tui -- TUI configuration variables # TUI 配置变量set tui active-border-mode -- Set the attribute mode to use for the active TUI window border # 设置用于活动 TUI 窗口边框的属性模式set tui border-kind -- Set the kind of border for TUI windows # 设置 TUI 窗口的边框类型set tui border-mode -- Set the attribute mode to use for the TUI window borders # 设置用于 TUI 窗口边框的属性模式set unwind-on-terminating-exception -- Set unwinding of stack if std::terminate is called whilein call dummy # 如果在调用虚拟时调用 std::terminate 则设置堆栈展开set unwindonsignal -- Set unwinding of stack if a signal is received whilein a call dummy # 如果在 call dummy 中接收到信号,则设置堆栈展开set use-coredump-filter -- Set whether gcore should consider /proc/PID/coredump_filter # 设置 gcore 是否应该考虑 /proc/PID/coredump_filterset use-deprecated-index-sections -- Set whether to use deprecated gdb_index sections # 设置是否使用已弃用的 gdb_index 部分set variable -- Evaluate expression EXP and assign result to variable VAR # 计算表达式 EXP 并将结果分配给变量 VARset verbose -- Set verbosity # 设置详细程度set watchdog -- Set watchdog timer # 设置看门狗定时器set width -- Set number of characters where GDB should wrap lines of its output # 设置 GDB 应在其输出中换行的字符数setwrite -- Set writing into executable and core files # 设置写入可执行文件和核心文件
undisplay -- Cancel some expressions to be displayed when program stops # 取消程序停止时显示的部分表达式
whatis -- Print data type of expression EXP # 打印表达式 EXP 的数据类型
x -- Examine memory: x/FMT ADDRESS # 检查内存:x/FMT ADDRESS
4、files 命令类
Command class: files(文件)
add-symbol-file -- Load symbols from FILE # 从 FILE 加载符号
add-symbol-file-from-memory -- Load the symbols out of memory from a dynamically loaded object file# 从动态加载的目标文件中将符号从内存中加载出来cd -- Set working directory to DIR for debugger and program being debugged # 将工作目录设置为 DIR 以供调试器和正在调试的程序
core-file -- Use FILE as core dump for examining memory and registers # 使用 FILE 作为核心转储来检查内存和寄存器
directory -- Add directory DIR to beginning of search path forsource files # 将目录 DIR 添加到源文件的搜索路径的开头
edit -- Edit specified file or function# 编辑指定文件或函数
exec-file -- Use FILE as program for getting contents of pure memory # 使用 FILE 作为获取纯内存内容的程序file -- Use FILE as program to be debugged # 使用 FILE 作为要调试的程序
forward-search -- Search for regular expression (see regex(3)) from last line listed # 从列出的最后一行搜索正则表达式(参见 regex(3))
generate-core-file -- Save a core file with the current state of the debugged process # 保存带有被调试进程当前状态的核心文件
list -- List specified function or line # 列出指定的函数或行
load -- Dynamically load FILE into the running program # 动态加载 FILE 到正在运行的程序中
nosharedlibrary -- Unload all shared object library symbols # 卸载所有共享对象库符号
path -- Add directory DIR(s) to beginning of search path for object files # 将目录 DIR(s) 添加到目标文件的搜索路径的开头pwd -- Print working directory # 打印工作目录
remote -- Manipulate files on the remote system # 操作远程系统上的文件
remote delete -- Delete a remote file# 删除远程文件
remote get -- Copy a remote file to the local system # 将远程文件复制到本地系统
remote put -- Copy a localfile to the remote system # 将本地文件复制到远程系统
remove-symbol-file -- Remove a symbol file added via the add-symbol-file command# 删除通过 add-symbol-file 命令添加的符号文件
reverse-search -- Search backward for regular expression (see regex(3)) from last line listed # 从列出的最后一行向后搜索正则表达式(参见 regex(3))
search -- Search for regular expression (see regex(3)) from last line listed # 从列出的最后一行搜索正则表达式(参见 regex(3))
section -- Change the base address of section SECTION of the execfile to ADDR # 将exec文件的部分SECTION的基地址更改为ADDR
sharedlibrary -- Load shared object library symbols for files matching REGEXP # 为匹配 REGEXP 的文件加载共享对象库符号
symbol-file -- Load symbol table from executable file FILE # 从可执行文件 FILE 加载符号表
5、internals 命令类
Command class: internals(内部)
flushregs -- Force gdb to flush its register cache (maintainer command)# 强制 gdb 刷新其寄存器缓存(维护器命令)
maintenance -- Commands for use by GDB maintainers # 供 GDB 维护人员使用的命令
maintenance agent -- Translate an expression into remote agent bytecode for tracing # 将表达式转换为远程代理字节码以进行跟踪
maintenance agent-eval -- Translate an expression into remote agent bytecode for evaluation # 将表达式转换为远程代理字节码以进行评估
maintenance agent-printf -- Translate an expression into remote agent bytecode for evaluation and display the bytecodes # 将表达式转换为远程代理字节码以进行评估并显示字节码
maintenance btrace -- Branch tracing maintenance commands # 分支跟踪维护命令
maintenance btrace clear -- Clears the branch tracing data # 清除分支跟踪数据
maintenance btrace clear-packet-history -- Clears the branch tracing packet history# 清除分支跟踪数据包历史
maintenance btrace packet-history -- Print the raw branch tracing data # 打印原始分支跟踪数据
maintenance check-psymtabs -- Check consistency of currently expanded psymtabs versus symtabs # 检查当前扩展的 psymtab 与 symtab 的一致性
maintenance check-symtabs -- Check consistency of currently expanded symtabs # 检查当前扩展符号表的一致性
maintenance cplus -- C++ maintenance commands # C++ 维护命令
maintenance cplus first_component -- Print the first class/namespace component of NAME # 打印 NAME 的第一个类/命名空间组件
maintenance demangler-warning -- Give GDB a demangler warning # 给 GDB 一个 demangler 警告
maintenance deprecate -- Deprecate a command# 弃用命令
maintenance dump-me -- Get fatal error;make debugger dump its core # 得到致命错误; 使调试器转储其核心
maintenance expand-symtabs -- Expand symbol tables # 展开符号表
maintenance flush-symbol-cache -- Flush the symbol cache for each program space # 刷新每个程序空间的符号缓存
maintenance info -- Commands for showing internal info about the program being debugged # 用于显示有关被调试程序的内部信息的命令
maintenance info bfds -- List the BFDs that are currently open# 列出当前打开的 BFD
maintenance info breakpoints -- Status of all breakpoints # 所有断点的状态
maintenance info btrace -- Info about branch tracing data # 有关分支跟踪数据的信息
maintenance info line-table -- List the contents of all line tables # 列出所有行表的内容
maintenance info program-spaces -- Info about currently known program spaces # 有关当前已知程序空间的信息
maintenance info psymtabs -- List the partial symbol tables for all object files # 列出所有目标文件的部分符号表
maintenance info sections -- List the BFD sections of the exec and core files # 列出 exec 和 core 文件的 BFD 部分
maintenance info symtabs -- List the full symbol tables for all object files # 列出所有目标文件的完整符号表
maintenance internal-error -- Give GDB an internal error # 给 GDB 一个内部错误
maintenance internal-warning -- Give GDB an internal warning # 给 GDB 一个内部警告
maintenance packet -- Send an arbitrary packet to a remote target # 向远程目标发送任意数据包
maintenance print -- Maintenance commandfor printing GDB internal state # 打印 GDB 内部状态的维护命令
maintenance print architecture -- Print the internal architecture configuration # 打印内部架构配置
maintenance print c-tdesc -- Print the current target description as a C sourcefile# 将当前目标描述打印为 C 源文件
maintenance print cooked-registers -- Print the internal register configuration including cooked values # 打印内部寄存器配置,包括cooked值
maintenance print dummy-frames -- Print the contents of the internal dummy-frame stack # 打印内部虚拟帧堆栈的内容
maintenance print msymbols -- Print dump of current minimal symbol definitions # 当前最小符号定义的打印转储
maintenance print objfiles -- Print dump of current object file definitions # 当前目标文件定义的打印转储
maintenance print psymbols -- Print dump of current partial symbol definitions # 当前部分符号定义的打印转储
maintenance print raw-registers -- Print the internal register configuration including raw values # 打印内部寄存器配置,包括原始值
maintenance print reggroups -- Print the internal register group names # 打印内部寄存器组名称
maintenance print register-groups -- Print the internal register configuration including each register's group # 打印内部寄存器配置,包括每个寄存器的组
maintenance print registers -- Print the internal register configuration # 打印内部寄存器配置
maintenance print remote-registers -- Print the internal register configuration including each register's # 打印内部寄存器配置,包括每个寄存器的
maintenance print statistics -- Print statistics about internal gdb state # 打印有关内部 gdb 状态的统计信息
maintenance print symbol-cache -- Dump the symbol cache for each program space # 转储每个程序空间的符号缓存
maintenance print symbol-cache-statistics -- Print symbol cache statistics for each program space # 打印每个程序空间的符号缓存统计信息
maintenance print symbols -- Print dump of current symbol definitions # 当前符号定义的打印转储
maintenance print target-stack -- Print the name of each layer of the internal target stack # 打印内部目标栈每一层的名称
maintenance print type -- Print a type chain for a given symbol # 打印给定符号的类型链
maintenance print user-registers -- List the names of the current user registers # 列出当前用户寄存器的名称
maintenance selftest -- Run gdb's unit tests # 运行 gdb 的单元测试
maintenance set -- Set GDB internal variables used by the GDB maintainer # 设置 GDB 维护者使用的 GDB 内部变量
maintenance set ada -- Set Ada maintenance-related variables # 设置 Ada 维护相关变量
maintenance set ada ignore-descriptive-types -- Set whether descriptive types generated by GNAT should be ignored # 设置是否应忽略 GNAT 生成的描述性类型
maintenance set bfd-sharing -- Set whether gdb will share bfds that appear to be the same file # 设置 gdb 是否会共享看起来是同一个文件的 bfds
maintenance set btrace -- Set branch tracing specific variables # 设置分支跟踪特定变量
maintenance set btrace pt -- Set Intel Processor Trace specific variables # 设置英特尔处理器跟踪特定变量
maintenance set btrace pt skip-pad -- Set whether PAD packets should be skipped in the btrace packet history # 设置是否应在 btrace 数据包历史记录中跳过 PAD 数据包
maintenance set catch-demangler-crashes -- Set whether to attempt to catch demangler crashes # 设置是否尝试捕获 demangler 崩溃
maintenance set demangler-warning -- Configure what GDB does when demangler-warning is detected # 配置检测到 demangler-warning 时 GDB 执行的操作
maintenance set demangler-warning quit -- Set whether GDB should quit when an demangler-warning is detected # 设置当检测到一个 demangler-warning 时 GDB 是否应该退出
maintenance set dwarf -- Set DWARF specific variables # 设置 DWARF 特定变量
maintenance set dwarf always-disassemble -- Set whether `info address' always disassembles DWARF expressions # 设置 `info address' 是否总是反汇编 DWARF 表达式
maintenance set dwarf max-cache-age -- Set the upper bound on the age of cached DWARF compilation units# 设置缓存 DWARF 编译单元的年龄上限
maintenance set internal-error -- Configure what GDB does when internal-error is detected # 配置检测到内部错误时 GDB 执行的操作
maintenance set internal-error corefile -- Set whether GDB should create a core file of GDB when internal-error is detected # 设置检测到 internal-error 时 GDB 是否应该创建 GDB 的核心文件
maintenance set internal-error quit -- Set whether GDB should quit when an internal-error is detected # 设置检测到内部错误时是否退出 GDB
maintenance set internal-warning -- Configure what GDB does when internal-warning is detected # 配置检测到内部警告时 GDB 执行的操作
maintenance set internal-warning corefile -- Set whether GDB should create a core file of GDB when internal-warning is detected # 设置检测到 internal-warning 时 GDB 是否应该创建 GDB 的核心文件
maintenance set internal-warning quit -- Set whether GDB should quit when an internal-warning is detected # 设置检测到内部警告时是否退出 GDB
maintenance set per-command -- Per-command statistics settings # 每条命令统计设置set per-command space -- Set whether to display per-command space usage # 设置是否显示每个命令的空间使用情况set per-command symtab -- Set whether to display per-command symtab statistics # 设置是否显示每个命令的符号表统计信息set per-command time -- Set whether to display per-command execution time# 设置是否显示每条命令的执行时间
maintenance set profile -- Set internal profiling # 设置内部分析
maintenance set show-debug-regs -- Set whether to show variables that mirror the x86 debug registers # 设置是否显示镜像 x86 调试寄存器的变量
maintenance set symbol-cache-size -- Set the size of the symbol cache # 设置符号缓存的大小
maintenance set target-async -- Set whether gdb controls the inferior in asynchronous mode # 设置gdb是否在异步模式下控制suber
maintenance set target-non-stop -- Set whether gdb always controls the inferior in non-stop mode # 设置gdb是否总是在不间断模式下控制inferior
maintenance show -- Show GDB internal variables used by the GDB maintainer # 显示 GDB 维护者使用的 GDB 内部变量
maintenance show ada -- Show Ada maintenance-related variables # 显示 Ada 维护相关变量
maintenance show ada ignore-descriptive-types -- Show whether descriptive types generated by GNAT should be ignored # 显示是否应忽略 GNAT 生成的描述性类型
maintenance show bfd-sharing -- Show whether gdb will share bfds that appear to be the same file# 显示 gdb 是否会共享看起来是同一个文件的 bfd
maintenance show btrace -- Show branch tracing specific variables # 显示分支跟踪特定变量
maintenance show btrace pt -- Show Intel Processor Trace specific variables # 显示英特尔处理器跟踪特定变量
maintenance show btrace pt skip-pad -- Show whether PAD packets should be skipped in the btrace packet history# 显示是否应在 btrace 数据包历史记录中跳过 PAD 数据包
maintenance show catch-demangler-crashes -- Show whether to attempt to catch demangler crashes # 显示是否尝试捕获 demangler 崩溃
maintenance show demangler-warning -- Show what GDB does when demangler-warning is detected # 显示当检测到 demangler-warning 时 GDB 会做什么
maintenance show demangler-warning quit -- Show whether GDB will quit when an demangler-warning is detected # 显示当检测到 demangler-warning 时 GDB 是否会退出
maintenance show dwarf -- Show DWARF specific variables # 显示 DWARF 特定变量
maintenance show dwarf always-disassemble -- Show whether `info address' always disassembles DWARF expressions # 显示“info address”是否总是反汇编 DWARF 表达式
maintenance show dwarf max-cache-age -- Show the upper bound on the age of cached DWARF compilation units# 显示缓存 DWARF 编译单元的年龄上限
maintenance show internal-error -- Show what GDB does when internal-error is detected # 显示检测到内部错误时 GDB 执行的操作
maintenance show internal-error corefile -- Show whether GDB will create a core file of GDB when internal-error is detected # 显示检测到内部错误时 GDB 是否会创建 GDB 的核心文件
maintenance show internal-error quit -- Show whether GDB will quit when an internal-error is detected # 显示当检测到内部错误时 GDB 是否会退出
maintenance show internal-warning -- Show what GDB does when internal-warning is detected # 显示检测到内部警告时 GDB 会做什么
maintenance show internal-warning corefile -- Show whether GDB will create a core file of GDB when internal-warning is detected # 显示检测到 internal-warning 时 GDB 是否会创建 GDB 的核心文件
maintenance show internal-warning quit -- Show whether GDB will quit when an internal-warning is detected # 显示当检测到内部警告时 GDB 是否会退出
maintenance show per-command -- Show per-command statistics settings # 显示每个命令的统计信息设置
show per-command space -- Show whether to display per-command space usage # 显示是否显示每个命令的空间使用情况
show per-command symtab -- Show whether to display per-command symtab statistics # 显示是否显示每个命令的符号表统计信息
show per-command time -- Show whether to display per-command execution time# 显示是否显示每个命令的执行时间
maintenance show profile -- Show internal profiling # 显示内部分析
maintenance show show-debug-regs -- Show whether to show variables that mirror the x86 debug registers # 显示是否显示镜像 x86 调试寄存器的变量
maintenance show symbol-cache-size -- Show the size of the symbol cache # 显示符号缓存的大小
maintenance show target-async -- Show whether gdb controls the inferior in asynchronous mode # 显示 gdb 是否在异步模式下控制下级
maintenance show target-non-stop -- Show whether gdb always controls the inferior in non-stop mode # 显示 gdb 是否总是在不间断模式下控制下级
maintenance space -- Set the display of space usage # 设置空间使用情况的显示
maintenance time -- Set the display of time usage # 设置时间使用的显示
maintenance translate-address -- Translate a section name and address to a symbol # 将部分名称和地址转换为符号
maintenance undeprecate -- Undeprecate a command# 取消弃用命令
6、obscure 命令类
Command class: obscure(晦涩)
checkpoint -- Fork a duplicate process (experimental)# Fork一个重复的过程(实验)
compare-sections -- Compare section data on target to the execfile# 将目标上的部分数据与 exec 文件进行比较
compile -- Command to compile source code and inject it into the inferior # 命令编译源代码并将其注入下级
compile code -- Compile # 编译
compile file -- Evaluate a file containing source code # 评估包含源代码的文件
compile print -- Evaluate EXPR by using the compiler and print result # 使用编译器评估 EXPR 并打印结果
complete -- List the completions for the rest of the line as a command# 列出该行其余部分的完成作为命令
expression -- Command to compile source code and inject it into the inferior # 命令编译源代码并将其注入下级
compile code -- Compile # 编译
compile file -- Evaluate a file containing source code # 评估包含源代码的文件
compile print -- Evaluate EXPR by using the compiler and print result # 使用编译器评估 EXPR 并打印结果
guile -- Evaluate a Guile expression # 评估 Guile 表达式
guile-repl -- Start a Guile interactive prompt # 启动 Guile 交互式提示
monitor -- Send a command to the remote monitor (remote targets only)# 向远程监视器发送命令(仅限远程目标)
python -- Evaluate a Python command# 评估 Python 命令
python-interactive -- Start an interactive Python prompt # 启动交互式 Python 提示符
record -- Start recording # 开始录制
record btrace -- Start branch trace recording # 开始分支跟踪记录
record btrace bts -- Start branch trace recording in Branch Trace Store (BTS)format# 以 Branch Trace Store (BTS) 格式启动分支跟踪记录
record btrace pt -- Start branch trace recording in Intel Processor Trace format# 以英特尔处理器跟踪格式开始分支跟踪记录
record delete -- Delete the rest of execution log and start recording it anew # 删除其余的执行日志并重新开始记录
record full -- Start full execution recording # 开始完整的执行记录
record full restore -- Restore the execution log from a file# 从文件恢复执行日志
record function-call-history -- Prints the execution history at function granularity # 以函数粒度打印执行历史
record goto -- Restore the program to its state at instruction number N # 将程序恢复到指令号 N 处的状态
record goto begin -- Go to the beginning of the execution log # 转到执行日志的开头
record goto end -- Go to the end of the execution log # 转到执行日志的末尾
record instruction-history -- Print disassembled instructions stored in the execution log # 打印存储在执行日志中的反汇编指令
record save -- Save the execution log to a file# 将执行日志保存到文件
record stop -- Stop the record/replay target # 停止记录/重播目标
restart -- Restart <n>: restore program context from a checkpoint # Restart <n>:从检查点恢复程序上下文
stop -- There is no `stop' command# 没有“stop”命令
7、running 命令类
Command class: running(运行)
advance -- Continue the program up to the given location (same form as args forbreakcommand)# 将程序继续到给定位置(与中断命令的 args 格式相同)
attach -- Attach to a process or file outside of GDB # 附加到 GDB 之外的进程或文件continue -- Continue program being debugged # 继续正在调试的程序
detach -- Detach a process or file previously attached # 分离先前附加的进程或文件
detach checkpoint -- Detach from a checkpoint (experimental)# 从检查点分离(实验性)
detach inferiors -- Detach from inferior ID (or list of IDS)# 从inferior ID(或 IDS 列表)中分离
disconnect -- Disconnect from a target # 与目标断开连接
finish -- Execute until selected stack frame returns # 执行直到选定的堆栈帧返回
handle -- Specify how to handle signals # 指定如何处理信号
inferior -- Use this command to switch between inferiors # 使用此命令在inferiors之间切换
interrupt -- Interrupt the execution of the debugged program # 中断被调试程序的执行
jump -- Continue program being debugged at specified line or address # 继续在指定行或地址处调试程序kill -- Kill execution of program being debugged # 终止正在调试的程序的执行kill inferiors -- Kill inferior ID (or list of IDs)# 杀死inferior ID(或 ID 列表)
next -- Step program # 步进程序
nexti -- Step one instruction # 第一步说明
queue-signal -- Queue a signal to be delivered to the current thread when it is resumed # 排队一个信号,以便在恢复时传递给当前线程
reverse-continue -- Continue program being debugged but run it in reverse # 继续正在调试的程序,但反向运行
reverse-finish -- Execute backward until just before selected stack frame is called # 向后执行,直到调用所选堆栈帧之前
reverse-next -- Step program backward # 向后步进程序
reverse-nexti -- Step backward one instruction # 后退一条指令
reverse-step -- Step program backward until it reaches the beginning of another source line # 向后步进程序直到它到达另一个源代码行的开头
reverse-stepi -- Step backward exactly one instruction # 正好后退一条指令
run -- Start debugged program # 启动调试程序
signal -- Continue program with the specified signal # 使用指定的信号继续编程
start -- Run the debugged program until the beginning of the main procedure # 运行被调试的程序直到主程序开始
step -- Step program until it reaches a different source line # 单步执行程序,直到它到达不同的源代码行
stepi -- Step one instruction exactly # 准确的第一步指令
target -- Connect to a target machine or process # 连接到目标机器或进程
target core -- Use a core file as a target # 使用核心文件作为目标
target ctf -- Use a CTF directory as a target # 使用 CTF 目录作为目标
target exec -- Use an executable file as a target # 使用可执行文件作为目标
target extended-remote -- Use a remote computer via a serial line # 通过串行线使用远程计算机
target native -- Native process (started by the "run"command)# 本机进程(由“run”命令启动)
target record-btrace -- Collect control-flow trace and provide the execution history# 收集控制流跟踪并提供执行历史
target record-core -- Log program while executing and replay execution from log # 在执行时记录程序并从日志中重播执行
target record-full -- Log program while executing and replay execution from log # 在执行时记录程序并从日志中重播执行
target remote -- Use a remote computer via a serial line # 通过串行线使用远程计算机
target tfile -- Use a trace file as a target # 使用跟踪文件作为目标
task -- Use this command to switch between Ada tasks # 使用此命令在 Ada 任务之间切换
thread -- Use this command to switch between threads # 使用此命令在线程之间切换
thread apply -- Apply a command to a list of threads # 将命令应用于线程列表
thread apply all -- Apply a command to all threads # 将命令应用于所有线程
thread find -- Find threads that match a regular expression # 查找与正则表达式匹配的线程
thread name -- Set the current thread's name # 设置当前线程的名称until -- Execute until the program reaches a source line greater than the current # 执行直到程序到达大于当前的源代码行
8、stack 命令类
Command class: stack(堆栈)
backtrace -- Print backtrace of all stack frames # 打印所有堆栈帧的回溯
bt -- Print backtrace of all stack frames # 打印所有堆栈帧的回溯
down -- Select and print stack frame called by this one # 选择并打印此调用的堆栈帧
frame -- Select and print a stack frame # 选择并打印堆栈帧return -- Make selected stack frame return to its caller# 使选定的堆栈帧返回给它的调用者
select-frame -- Select a stack frame without printing anything # 选择堆栈帧而不打印任何内容
up -- Select and print stack frame that called this one # 选择并打印调用这个堆栈帧
9、status 命令类
Command class: status(状态)
info -- Generic commandfor showing things about the program being debugged # 用于显示有关正在调试的程序的通用命令
info address -- Describe where symbol SYM is stored # 描述符号 SYM 的存储位置
info all-registers -- List of all registers and their contents # 所有寄存器列表及其内容
info args -- Argument variables of current stack frame # 当前堆栈帧的参数变量
info auto-load -- Print current status of auto-loaded files # 打印自动加载文件的当前状态
info auto-load gdb-scripts -- Print the list of automatically loaded sequences of commands # 打印自动加载的命令序列列表
info auto-load libthread-db -- Print the list of loaded inferior specific libthread_db # 打印加载的inferior特定 libthread_db 列表
info auto-load local-gdbinit -- Print whether current directory .gdbinit file has been loaded # 打印当前目录.gdbinit文件是否已经加载
info auto-load python-scripts -- Print the list of automatically loaded Python scripts # 打印自动加载的 Python 脚本列表
info auxv -- Display the inferior's auxiliary vector # 显示下级的辅助向量
info bookmarks -- Status of user-settable bookmarks
info breakpoints -- Status of specified breakpoints (all user-settable breakpoints if no argument) # 指定断点的状态(如果没有参数,则为所有用户可设置的断点)
info checkpoints -- IDs of currently known checkpoints # 当前已知检查点的 ID
info classes -- All Objective-C classes # 所有 Objective-C 类
info common -- Print out the values contained in a Fortran COMMON block # 打印出 Fortran COMMON 块中包含的值
info copying -- Conditions for redistributing copies of GDB # 重新分发 GDB 副本的条件
info dcache -- Print information on the dcache performance # 打印有关 dcache 性能的信息
info display -- Expressions to display when program stops # 程序停止时显示的表达式
info exceptions -- List all Ada exception names # 列出所有 Ada 异常名称
info extensions -- All filename extensions associated with a source language # 与源语言关联的所有文件扩展名
info files -- Names of targets and files being debugged # 正在调试的目标和文件的名称
info float -- Print the status of the floating point unit # 打印浮点单元的状态
info frame -- All about selected stack frame # 所有关于选定的堆栈帧
info frame-filter -- List all registered Python frame-filters # 列出所有已注册的 Python 帧过滤器
info functions -- All function names # 所有函数名称
info guile -- Prefix command for Guile info displays # Guile 信息显示的前缀命令
info handle -- What debugger does when program gets various signals # 当程序收到各种信号时调试器会做什么
info inferiors -- IDs of specified inferiors (all inferiors if no argument) # 指定下级的 ID(如果没有参数,则为所有下级)
info line -- Core addresses of the code for a source line # 源代码行的核心地址
info locals -- Local variables of current stack frame # 当前栈帧的局部变量
info macro -- Show the definition of MACRO # 显示 MACRO 的定义
info macros -- Show the definitions of all macros at LINESPEC # 在 LINESPEC 显示所有宏的定义
info mem -- Memory region attributes # Memory region attributes
info os -- Show OS data ARG # Show OS data ARG
info pretty-printer -- GDB command to list all registered pretty-printers # GDB 命令列出所有已注册的漂亮打印机
info probes -- Show available static probes # 显示可用的静态探针
info probes all -- Show information about all type of probes # 显示有关所有类型探头的信息
info probes dtrace -- Show information about DTrace static probes # 显示有关 DTrace 静态探针的信息
info probes stap -- Show information about SystemTap static probes # 显示有关 SystemTap 静态探针的信息
info proc -- Show /proc process information about any running process # 显示有关任何正在运行的进程的 /proc 进程信息
info proc all -- List all available /proc info # 列出所有可用的 /proc 信息
info proc cmdline -- List command line arguments of the process # 列出进程的命令行参数
info proc cwd -- List current working directory of the process # 列出进程的当前工作目录
info proc exe -- List absolute filename for executable of the process # 列出进程可执行文件的绝对文件名
info proc mappings -- List of mapped memory regions # 映射内存区域列表
info proc stat -- List process info from /proc/PID/stat # 列出来自 /proc/PID/stat 的进程信息
info proc status -- List process info from /proc/PID/status # 从 /proc/PID/status 列出进程信息
info program -- Execution status of the program # 程序执行状态
info record -- Info record options # 信息记录选项
info registers -- List of integer registers and their contents # 整数寄存器列表及其内容
info scope -- List the variables local to a scope # 列出作用域的局部变量
info selectors -- All Objective-C selectors # 所有 Objective-C 选择器
info set -- Show all GDB settings # 显示所有 GDB 设置
info sharedlibrary -- Status of loaded shared object libraries # 加载的共享对象库的状态
info signals -- What debugger does when program gets various signals # 当程序收到各种信号时调试器会做什么
info skip -- Display the status of skips # 显示跳过的状态
info source -- Information about the current source file # 当前源文件的信息
info sources -- Source files in the program # 程序中的源文件
info stack -- Backtrace of the stack # 堆栈的回溯
info static-tracepoint-markers -- List target static tracepoints markers # 列出目标静态跟踪点标记
info symbol -- Describe what symbol is at location ADDR # 描述地址 ADDRESS 的符号是什么
info target -- Names of targets and files being debugged # 正在调试的目标和文件的名称
info tasks -- Provide information about all known Ada tasks # 提供有关所有已知 Ada 任务的信息
info terminal -- Print inferior's saved terminal status # 打印inferior保存的终端状态
info threads -- Display currently known threads # 显示当前已知线程
info tracepoints -- Status of specified tracepoints (all tracepoints if no argument)# 指定跟踪点的状态(如果没有参数,则为所有跟踪点)
info tvariables -- Status of trace state variables and their values # 跟踪状态变量的状态及其值
info type-printers -- GDB command to list all registered type-printers # GDB 命令列出所有已注册的打字机
info types -- All type names # 所有类型名称
info unwinder -- GDB command to list unwinders # 列出展开器的 GDB 命令
info variables -- All global and static variable names # 所有全局和静态变量名
info vector -- Print the status of the vector unit # 打印向量单元的状态
info vtbl -- Show the virtual function table for a C++ object # 显示 C++ 对象的虚函数表
info warranty -- Various kinds of warranty you do not have # 您没有的各种warranty
info watchpoints -- Status of specified watchpoints (all watchpoints if no argument)# 指定观察点的状态(如果没有参数,则为所有观察点)
info win -- List of all displayed windows # 所有显示窗口的列表
info xmethod -- GDB command to list registered xmethod matchers # GDB 命令列出已注册的 xmethod 匹配器
macro -- Prefix for commands dealing with C preprocessor macros # 处理 C 预处理器宏的命令的前缀
macro define -- Define a new C/C++ preprocessor macro # 定义一个新的 C/C++ 预处理器宏
macro expand -- Fully expand any C/C++ preprocessor macro invocations in EXPRESSION # 完全扩展 EXPRESSION 中的任何 C/C++ 预处理器宏调用
macro expand-once -- Expand C/C++ preprocessor macro invocations appearing directly in EXPRESSION # 展开直接出现在 EXPRESSION 中的 C/C++ 预处理器宏调用
macro list -- List all the macros defined using the `macro define' command # 列出使用“宏定义”命令定义的所有宏
macro undef -- Remove the definition of the C/C++ preprocessor macro with the given name # 删除具有给定名称的 C/C++ 预处理器宏的定义
show -- Generic command for showing things about the debugger # 用于显示有关调试器的通用命令
show ada -- Generic command for showing Ada-specific settings # 用于显示 Ada 特定设置的通用命令
show ada print-signatures -- Show whether the output of formal and return types for functions in the overloads selection menu is activated # 显示重载选择菜单中函数的形式和返回类型的输出是否被激活
show ada trust-PAD-over-XVS -- Show whether an optimization trusting PAD types over XVS types is activated # 显示是否激活了优化信任 PAD 类型而不是 XVS 类型
show agent -- Show debugger's willingness to use agent as a helper # 显示调试器愿意使用代理作为助手
show annotate -- Show annotation_level # 显示 annotation_level
show architecture -- Show architecture of target # 显示目标架构
show args -- Show argument list to give program being debugged when it is started # 显示参数列表以在程序启动时提供正在调试的程序
show auto-connect-native-target -- Show whether GDB may automatically connect to the native target # 显示 GDB 是否可以自动连接到本机目标
show auto-load -- Show auto-loading specific settings # 显示自动加载特定设置
show auto-load gdb-scripts -- Show whether auto-loading of canned sequences of commands scripts is enabled # 显示是否启用了自动加载预设的命令脚本序列
show auto-load libthread-db -- Show whether auto-loading inferior specific libthread_db is enabled # 显示是否启用了自动加载劣质特定 libthread_db
show auto-load local-gdbinit -- Show whether auto-loading .gdbinit script in current directory is enabled # 显示是否启用在当前目录中自动加载 .gdbinit 脚本
show auto-load python-scripts -- Show the debugger's behaviour regarding auto-loaded Python scripts # 显示调试器关于自动加载的 Python 脚本的行为
show auto-load safe-path -- Show the list of files and directories that are safe for auto-loading # 显示可安全自动加载的文件和目录列表
show auto-load scripts-directory -- Show the list of directories from which to load auto-loaded scripts # 显示要从中加载自动加载脚本的目录列表
show auto-solib-add -- Show autoloading of shared library symbols # 显示共享库符号的自动加载
show backtrace -- Show backtrace specific variables # 显示回溯特定变量
show backtrace limit -- Show the upper bound on the number of backtrace levels # 显示回溯级别数的上限
show backtrace past-entry -- Show whether backtraces should continue past the entry point of a program # 显示回溯是否应该继续超过程序的入口点
show backtrace past-main -- Show whether backtraces should continue past "main" # 显示回溯是否应该继续超过“main”
show basenames-may-differ -- Show whether a source file may have multiple base names # 显示一个源文件是否可以有多个基本名称
show breakpoint -- Breakpoint specific settings # 断点特定设置
show breakpoint always-inserted -- Show mode for inserting breakpoints # 插入断点的显示模式
show breakpoint auto-hw -- Show automatic usage of hardware breakpoints # 显示硬件断点的自动使用
show breakpoint condition-evaluation -- Show mode of breakpoint condition evaluation # 断点条件评估的显示模式
show breakpoint pending -- Show debugger's behavior regarding pending breakpoints # 显示调试器关于挂起断点的行为
show can-use-hw-watchpoints -- Show debugger's willingness to use watchpoint hardware # 显示调试器愿意使用观察点硬件
show case-sensitive -- Show case sensitivity in name search # 在名称搜索中显示区分大小写
show charset -- Show the host and target character sets # 显示主机和目标字符集
show check -- Show the status of the type/range checker # 显示类型/范围检查器的状态
show check range -- Show range checking # 显示范围检查
show check type -- Show strict type checking # 显示严格的类型检查
show circular-trace-buffer -- Show target's use of circular trace buffer # 显示目标对循环跟踪缓冲区的使用
show code-cache -- Show cache use for code segment access # 显示用于代码段访问的缓存
show coerce-float-to-double -- Show coercion of floats to doubles when calling functions # 调用函数时将浮点数强制转换为双精度数
show commands -- Show the history of commands you typed # 显示您键入的命令的历史记录
show compile-args -- Show compile command GCC command-line arguments # 显示编译命令 GCC 命令行参数
show complaints -- Show max number of complaints about incorrect symbols # 显示有关错误符号的最大报错数量
show configuration -- Show how GDB was configured at build time# 展示如何在构建时配置 GDB
show confirm -- Show whether to confirm potentially dangerous operations # 显示是否确认有潜在危险的操作
show convenience -- Debugger convenience ("$foo") variables and functions # 调试器便利 ("$foo") 变量和函数
show copying -- Conditions for redistributing copies of GDB # 重新分发 GDB 副本的条件
show cp-abi -- Show the ABI used for inspecting C++ objects # 显示用于检查 C++ 对象的 ABI
show data-directory -- Show GDB's data directory # 显示 GDB 的数据目录
show dcache -- Show dcachesettings # 显示 dcachesettings
show dcache line-size -- Show dcache line size # 显示 dcache 行大小
show dcache size -- Show number of dcache lines # 显示 dcache 行数
show debug -- Generic command for showing gdb debugging flags # 用于显示 gdb 调试标志的通用命令
show debug arch -- Show architecture debugging # 显示架构调试
show debug auto-load -- Show auto-load verifications debugging # 显示自动加载验证调试
show debug bfd-cache -- Show bfd cache debugging # 显示 bfd 缓存调试
show debug check-physname -- Show cross-checking of "physname" code against demangler # 显示对 demangler 的“physname”代码的交叉检查
show debug coff-pe-read -- Show coff PE read debugging # 显示 coff PE 读取调试
show debug compile -- Show compile command debugging # 显示编译命令调试
show debug displaced -- Show displaced stepping debugging # 显示位移步进调试
show debug dwarf-die -- Show debugging of the DWARF DIE reader # 显示 DWARF DIE 阅读器的调试
show debug dwarf-line -- Show debugging of the dwarf line reader # 显示dwarf行阅读器的调试
show debug dwarf-read -- Show debugging of the DWARF reader # 显示 DWARF 阅读器的调试
show debug entry-values -- Show entry values and tail call frames debugging # 显示入口值和尾调用帧调试
show debug expression -- Show expression debugging #显示表达式调试
show debug frame -- Show frame debugging # 显示帧调试
show debug infrun -- Show inferior debugging # 显示inferior调试
show debug jit -- Show JIT debugging # 显示 JIT 调试
show debug libthread-db -- Show libthread-db debugging # 显示 libthread-db 调试
show debug lin-lwp -- Show debugging of GNU/Linux lwp module # 显示 GNU/Linux lwp 模块的调试
show debug linux-namespaces -- Show debugging of GNU/Linux namespaces module # 显示 GNU/Linux 命名空间模块的调试
show debug notification -- Show debugging of async remote notification # 显示异步远程通知的调试
show debug observer -- Show observer debugging # 显示观察者调试
show debug overload -- Show debugging of C++ overloading # 显示 C++ 重载的调试
show debug parser -- Show parser debugging # 显示解析器调试
show debug py-unwind -- Show Python unwinder debugging # 显示 Python 展开器调试
show debug record -- Show debugging of record/replay feature # 显示记录/回放功能的调试
show debug remote -- Show debugging of remote protocol # 显示远程协议的调试
show debug serial -- Show serial debugging # 显示串口调试
show debug stap-expression -- Show SystemTap expression debugging # 显示 SystemTap 表达式调试
show debug symbol-lookup -- Show debugging of symbol lookup # 显示符号查找的调试
show debug symfile -- Show debugging of the symfile functions # 显示符号文件功能的调试
show debug symtab-create -- Show debugging of symbol table creation # 显示符号表创建的调试
show debug target -- Show target debugging # 显示目标调试
show debug timestamp -- Show timestamping of debugging messages # 显示调试消息的时间戳
show debug varobj -- Show varobj debugging # 显示 varobj 调试
show debug xml -- Show XML parser debugging # 显示 XML 解析器调试
show debug-file-directory -- Show the directories where separate debug symbols are searched for # 显示搜索单独调试符号的目录
show default-collect -- Show the list of expressions to collect by default # 显示默认收集的表达式列表
show demangle-style -- Show the current C++ demangling style # 显示当前的 C++ 拆解样式
show detach-on-fork -- Show whether gdb will detach the child of a fork # 显示 gdb 是否会分离 fork 的子代
show directories -- Show the search path for finding source files # 显示查找源文件的搜索路径
show disable-randomization -- Show disabling of debuggee's virtual address space randomization # 显示禁用被调试对象的虚拟地址空间随机化
show disassemble-next-line -- Show whether to disassemble next source line or insn when execution stops # 显示执行停止时是否反汇编下一个源代码行或 insn
show disassembly-flavor -- Show the disassembly flavor # 展现拆解 flavor
show disconnected-dprintf -- Show whether dprintf continues after GDB disconnects # 显示 GDB 断开连接后 dprintf 是否继续
show disconnected-tracing -- Show whether tracing continues after GDB disconnects # 显示 GDB 断开连接后是否继续跟踪
show displaced-stepping -- Show debugger's willingness to use displaced stepping # 显示调试器愿意使用位移步进
show dprintf-channel -- Show the channel to use for dynamic printf # 显示用于动态 printf 的通道
show dprintf-function -- Show the function to use for dynamic printf # 显示用于动态 printf 的函数
show dprintf-style -- Show the style of usage for dynamic printf # 显示动态 printf 的使用风格
show editing -- Show editing of command lines as they are typed # 在键入时显示对命令行的编辑
show endian -- Show endianness of target # 显示目标的字节顺序
show environment -- The environment to give the program # 给程序的环境
show exec-direction -- Show direction of execution (forward/reverse) # 显示执行方向(正向/反向)
show exec-done-display -- Show notification of completion for asynchronous execution commands # 显示异步执行命令的完成通知
show exec-wrapper -- Show the wrapper for running programs # 显示运行程序的包装器
show extended-prompt -- Show the extended prompt # Show the extended prompt
show extension-language -- Show mapping between filename extension and source language # 显示文件扩展名和源语言之间的映射
show filename-display -- Show how to display filenames # 显示如何显示文件名
show follow-exec-mode -- Show debugger response to a program call of exec # 显示调试器对 exec 程序调用的响应
show follow-fork-mode -- Show debugger response to a program call of fork or vfork # 显示调试器对 fork 或 vfork 程序调用的响应
show frame-filter -- Prefix command for 'show' frame-filter related operations # 'show' 帧过滤器相关操作的前缀命令
show frame-filter priority -- GDB command to show the priority of the specified frame-filter # GDB 命令显示指定帧过滤器的优先级
show gnutarget -- Show the current BFD target # 显示当前 BFD 目标
show guile -- Prefix command for Guile preference settings # Guile 首选项设置的前缀命令
show guile print-stack -- Show the mode of Guile exception printing on error # 错误时显示 Guile 异常打印模式
show height -- Show number of lines in a page for GDB output pagination # 显示 GDB 输出分页的页面中的行数
show history -- Generic command for showing command history parameters # 用于显示命令历史参数的通用命令
show history expansion -- Show history expansion on command input # 在命令输入上显示历史扩展
show history filename -- Show the filename in which to record the command history # 显示记录命令历史的文件名
show history remove-duplicates -- Show how far back in history to look for and remove duplicate entries # 显示查找和删除重复条目的历史记录
show history save -- Show saving of the history record on exit # 退出时显示历史记录的保存
show history size -- Show the size of the command history # 显示命令历史的大小
show host-charset -- Show the host character set # 显示主机字符集
show inferior-tty -- Show terminal for future runs of program being debugged # 显示终端以供将来运行正在调试的程序
show input-radix -- Show default input radix for entering numbers # 显示输入数字的默认输入基数
show interactive-mode -- Show whether GDB's standard input is a terminal # 显示 GDB 的标准输入是否是终端
show language -- Show the current source language # 显示当前源语言
show libthread-db-search-path -- Show the current search path or libthread_db # 显示当前搜索路径或 libthread_db
show listsize -- Show number of source lines gdb will list by default # 显示 gdb 默认列出的源代码行数
show logging -- Show logging options # 显示日志记录选项
show logging file -- Show the current logfile # 显示当前日志文件
show logging overwrite -- Show whether logging overwrites or appends to the log file# 显示日志记录是覆盖还是附加到日志文件
show logging redirect -- Show the logging output mode # 显示日志输出模式
show max-completions -- Show maximum number of completion candidates # 显示完成候选的最大数量
show max-user-call-depth -- Show the max call depth for non-python/scheme user-defined commands # 显示非 python/scheme 用户定义命令的最大调用深度
show max-value-size -- Show maximum sized value gdb will load from the inferior # 显示 gdb 将从下级加载的最大大小值
show may-insert-breakpoints -- Show permission to insert breakpoints in the target # 显示在目标中插入断点的权限
show may-insert-fast-tracepoints -- Show permission to insert fast tracepoints in the target # 显示在目标中插入快速跟踪点的权限
show may-insert-tracepoints -- Show permission to insert tracepoints in the target # 显示在目标中插入跟踪点的权限
show may-interrupt -- Show permission to interrupt or signal the target # 显示允许打断或向目标发出信号
show may-write-memory -- Show permission to write into target memory # 显示写入目标内存的权限
show may-write-registers -- Show permission to write into registers # 显示写入寄存器的权限
show mem -- Memory regions settings # 内存区域设置
show mem inaccessible-by-default -- Show handling of unknown memory regions # 显示未知内存区域的处理
show mi-async -- Show whether MI asynchronous mode is enabled # 显示是否开启 MI 异步模式
show mpx -- Show Intel Memory Protection Extensions specific variables # 显示英特尔内存保护扩展特定变量
show mpx bound -- Show the memory bounds for a given array/pointer storage in the bound table # 在绑定表中显示给定数组/指针存储的内存边界
show multiple-symbols -- Show how the debugger handles ambiguities in expressions # 显示调试器如何处理表达式中的歧义
show non-stop -- Show whether gdb controls the inferior in non-stop mode # 显示gdb是否在不间断模式下控制inferior
show observer -- Show whether gdb controls the inferior in observer mode # 显示gdb是否在观察者模式下控制inferior
show opaque-type-resolution -- Show resolution of opaque struct/class/union types (if set before loading symbols)# 显示不透明结构/类/联合类型的分辨率(如果在加载符号之前设置)
show osabi -- Show OS ABI of target # 显示目标的 OS ABI
show output-radix -- Show default output radix for printing of values # 显示用于打印值的默认输出基数
show overload-resolution -- Show overload resolution in evaluating C++ functions # 在评估 C++ 函数时显示重载决议
show pagination -- Show state of GDB output pagination # 显示 GDB 输出分页状态
show paths -- Current search path for finding object files # 查找目标文件的当前搜索路径
show print -- Generic commandfor showing print settings # 用于显示打印设置的通用命令
show print address -- Show printing of addresses # 显示地址打印
show print array -- Show pretty formatting of arrays # 显示漂亮的数组格式
show print array-indexes -- Show printing of array indexes # 显示数组索引的打印
show print asm-demangle -- Show demangling of C++/ObjC names in disassembly listings # 在反汇编列表中显示 C++/ObjC 名称的拆解
show print demangle -- Show demangling of encoded C++/ObjC names when displaying symbols # 显示符号时显示编码的 C++/ObjC 名称的解构
show print elements -- Show limit on string chars or array elements to print # 显示要打印的字符串字符或数组元素的限制
show print entry-values -- Show printing of function arguments at function entry # 在函数入口处显示函数参数的打印
show print frame-arguments -- Show printing of non-scalar frame arguments # 显示非标量框架参数的打印
show print inferior-events -- Show printing of inferior events (e.g. # 显示打印inferior事件
show print max-symbolic-offset -- Show the largest offset that will be printed in<symbol+1234> form # 显示将以 <symbol+1234> 形式打印的最大偏移量
show print null-stop -- Show printing of char arrays to stop at first null char # 显示 char 数组的打印以在第一个 null char 处停止
show print object -- Show printing of object's derived type based on vtable info # 根据 vtable 信息显示对象派生类型的打印
show print pascal_static-members -- Show printing of pascal static members # 显示 pascal 静态成员的打印
show print pretty -- Show pretty formatting of structures # 显示结构的漂亮格式
show print raw -- Generic command for showing "print raw" settings # 用于显示“print raw”设置的通用命令
show print raw frame-arguments -- Show whether to print frame arguments in raw form # 显示是否以原始格式打印框架参数
show print repeats -- Show threshold for repeated print elements # 显示重复打印元素的阈值
show print sevenbit-strings -- Show printing of 8-bit characters in strings as \nnn # 将字符串中 8 位字符的打印显示为 \nnn
show print static-members -- Show printing of C++ static members # 显示 C++ 静态成员的打印
show print symbol -- Show printing of symbol names when printing pointers # 打印指针时显示符号名称的打印
show print symbol-filename -- Show printing of source filename and line number with <symbol> # 使用 <symbol> 显示源文件名和行号的打印
show print symbol-loading -- Show printing of symbol loading messages # 显示符号加载消息的打印
show print thread-events -- Show printing of thread events (such as thread start and exit) # 显示线程事件的打印(例如线程启动和退出)
show print type -- Generic command for showing type-printing settings # 用于显示类型打印设置的通用命令
show print type methods -- Show printing of methods defined in classes # 显示类中定义的方法的打印
show print type typedefs -- Show printing of typedefs defined in classes # 显示类中定义的 typedef 的打印
show print union -- Show printing of unions interior to structures # 显示结构内部的联合打印
show print vtbl -- Show printing of C++ virtual function tables # 显示 C++ 虚函数表的打印
show prompt -- Show gdb's prompt # 显示 gdb 的提示
show python -- Prefix commandfor python preference settings # python首选项设置的前缀命令
show python print-stack -- Show the mode of Python stack printing on error # 显示错误时 Python 堆栈打印的模式
show radix -- Show the default input and output number radices # 显示默认输入和输出数基数
show range-stepping -- Show whether target-assisted range stepping is enabled # 显示是否启用了目标辅助范围步进
show record -- Show record options # 显示记录选项
show record btrace -- Show record options # 显示记录选项
show record btrace bts -- Show record btrace bts options # 显示记录 btrace bts 选项
show record btrace bts buffer-size -- Show the record/replay bts buffer size # 显示记录/重播 bts 缓冲区大小
show record btrace pt -- Show record btrace pt options # 显示记录 btrace pt 选项
show record btrace pt buffer-size -- Show the record/replay pt buffer size # 显示记录/重播 pt 缓冲区大小
show record btrace replay-memory-access -- Show what memory accesses are allowed during replay # 显示重放期间允许的内存访问
show record full -- Show record options # 显示记录选项
show record full insn-number-max -- Show record/replay buffer limit # 显示记录/重播缓冲区限制
show record full memory-query -- Show whether query if PREC cannot record memory change of next instruction # 显示是否查询PREC是否无法记录下一条指令的内存变化
show record full stop-at-limit -- Show whether record/replay stops when record/replay buffer becomes full # 显示当记录/重放缓冲区满时记录/重放是否停止
show record function-call-history-size -- Show number of functions to print in"record function-call-history"# 在“记录函数调用历史”中显示要打印的函数数
show record instruction-history-size -- Show number of instructions to print in"record instruction-history"# 在“记录指令历史”中显示要打印的指令数
show remote -- Remote protocol specific variables # 远程协议特定变量
show remote P-packet -- Show current use of remote protocol `P' (set-register) packet # 显示远程协议“P”(设置寄存器)数据包的当前使用
show remote TracepointSource-packet -- Show current use of remote protocol `TracepointSource'(TracepointSource) packet # 显示当前使用的远程协议 `TracepointSource' (TracepointSource) 数据包
show remote X-packet -- Show current use of remote protocol `X' (binary-download) packet # 显示当前使用的远程协议“X”(二进制下载)数据包
show remote Z-packet -- Show use of remote protocol `Z' packets # 显示远程协议“Z”数据包的使用
show remote access-watchpoint-packet -- Show current use of remote protocol `Z4'(access-watchpoint) packet # 显示远程协议“Z4”(访问观察点)数据包的当前使用情况
show remote agent-packet -- Show current use of remote protocol `QAgent' (agent) packet # 显示当前使用的远程协议 "QAgent"(代理)数据包
show remote allow-packet -- Show current use of remote protocol `QAllow' (allow) packet # 显示当前使用远程协议“QAlow”(允许)数据包
show remote attach-packet -- Show current use of remote protocol `vAttach'(attach) packet # 显示当前使用的远程协议 "vAttach" (attach) 数据包
show remote binary-download-packet -- Show current use of remote protocol `X' (binary-download) packet # 显示当前使用的远程协议“X”(二进制下载)数据包
show remote breakpoint-commands-packet -- Show current use of remote protocol `BreakpointCommands' (breakpoint-commands) packet # 显示当前使用的远程协议 `BreakpointCommands'(breakpoint-commands) 数据包
show remote btrace-conf-bts-size-packet -- Show current use of remote protocol `Qbtrace-conf:bts:size' (btrace-conf-bts-size) packet # 显示当前使用的远程协议 `Qbtrace-conf:bts:size' (btrace-conf-bts-size) 数据包
show remote btrace-conf-pt-size-packet -- Show current use of remote protocol `Qbtrace-conf:pt:size'(btrace-conf-pt-size) packet # 显示当前使用的远程协议 `Qbtrace-conf:pt:size' (btrace-conf-pt-size) 数据包
show remote catch-syscalls-packet -- Show current use of remote protocol `QCatchSyscalls' (catch-syscalls) packet # 显示当前使用的远程协议 `QCatchSyscalls' (catch-syscalls) 数据包
show remote conditional-breakpoints-packet -- Show current use of remote protocol `ConditionalBreakpoints'(conditional-breakpoints) packet # 显示当前使用远程协议`Conditional Breakpoints'(条件断点)数据包
show remote conditional-tracepoints-packet -- Show current use of remote protocol `ConditionalTracepoints' (conditional-tracepoints) packet # 显示当前使用的远程协议 `ConditionalTracepoints' (conditional-tracepoints) 数据包
show remote ctrl-c-packet -- Show current use of remote protocol `vCtrlC'(ctrl-c) packet # 显示当前使用的远程协议 `vCtrlC' (ctrl-c) 数据包
show remote disable-btrace-packet -- Show current use of remote protocol `Qbtrace:off' (disable-btrace) packet # 显示当前使用的远程协议 `Qbtrace:off' (disable-btrace) 数据包
show remote disable-randomization-packet -- Show current use of remote protocol `QDisableRandomization'(disable-randomization) packet # 显示当前使用的远程协议 `QDisableRandomization' (disable-randomization) 数据包
show remote enable-btrace-bts-packet -- Show current use of remote protocol `Qbtrace:bts' (enable-btrace-bts) packet # 显示当前使用的远程协议 `Qbtrace:bts' (enable-btrace-bts) 数据包
show remote enable-btrace-pt-packet -- Show current use of remote protocol `Qbtrace:pt'(enable-btrace-pt) packet # 显示当前使用的远程协议 `Qbtrace:pt' (enable-btrace-pt) 数据包
show remote exec-event-feature-packet -- Show current use of remote protocol `exec-event-feature' (exec-event-feature) packet # 显示当前使用的远程协议 `exec-event-feature' (exec-event-feature) 数据包
show remote exec-file -- Show the remote pathname for "run" # 显示“run”的远程路径名
show remote fast-tracepoints-packet -- Show current use of remote protocol `FastTracepoints'(fast-tracepoints) packet # 显示当前使用的远程协议 `FastTracepoints' (fast-tracepoints) 数据包
show remote fetch-register-packet -- Show current use of remote protocol `p' (fetch-register) packet # 显示远程协议“p”(获取寄存器)数据包的当前使用
show remote fork-event-feature-packet -- Show current use of remote protocol `fork-event-feature' (fork-event-feature) packet # 显示当前使用远程协议 `fork-event-feature'(fork-event-feature) 数据包
show remote get-thread-information-block-address-packet -- Show current use of remote protocol `qGetTIBAddr' (get-thread-information-block-address) packet # 显示当前使用的远程协议 `qGetTIBAddr' (get-thread-information-block-address) 数据包
show remote get-thread-local-storage-address-packet -- Show current use of remote protocol `qGetTLSAddr'(get-thread-local-storage-address) packet # 显示当前使用的远程协议 `qGetTLSAddr' (get-thread-local-storage-address) 数据包
show remote hardware-breakpoint-limit -- Show the maximum number of target hardware breakpoints # 显示目标硬件断点的最大数量
show remote hardware-breakpoint-packet -- Show current use of remote protocol `Z1' (hardware-breakpoint) packet # 显示远程协议“Z1”(硬件断点)数据包的当前使用
show remote hardware-watchpoint-length-limit -- Show the maximum length (in bytes) of a target hardware watchpoint # 显示目标硬件观察点的最大长度(以字节为单位)
show remote hardware-watchpoint-limit -- Show the maximum number of target hardware watchpoints # 显示目标硬件观察点的最大数量
show remote hostio-close-packet -- Show current use of remote protocol `vFile:close' (hostio-close) packet # 显示当前使用的远程协议 `vFile:close'(hostio-close) 数据包
show remote hostio-fstat-packet -- Show current use of remote protocol `vFile:fstat' (hostio-fstat) packet # 显示当前使用的远程协议 `vFile:fstat' (hostio-fstat) 数据包
show remote hostio-open-packet -- Show current use of remote protocol `vFile:open'(hostio-open) packet # 显示当前使用的远程协议 `vFile:open' (hostio-open) 数据包
show remote hostio-pread-packet -- Show current use of remote protocol `vFile:pread' (hostio-pread) packet # 显示当前使用的远程协议 `vFile:pread' (hostio-pread) 数据包
show remote hostio-pwrite-packet -- Show current use of remote protocol `vFile:pwrite'(hostio-pwrite) packet # 显示当前使用的远程协议 `vFile:pwrite' (hostio-pwrite) 数据包
show remote hostio-readlink-packet -- Show current use of remote protocol `vFile:readlink' (hostio-readlink) packet # 显示当前使用的远程协议 `vFile:readlink' (hostio-readlink) 数据包
show remote hostio-setfs-packet -- Show current use of remote protocol `vFile:setfs'(hostio-setfs) packet # 显示当前使用的远程协议 `vFile:setfs' (hostio-setfs) 数据包
show remote hostio-unlink-packet -- Show current use of remote protocol `vFile:unlink' (hostio-unlink) packet # 显示当前使用的远程协议 `vFile:unlink' (hostio-unlink) 数据包
show remote hwbreak-feature-packet -- Show current use of remote protocol `hwbreak-feature'(hwbreak-feature) packet # 显示当前使用的远程协议 `hwbreak-feature' (hwbreak-feature) 数据包
show remote install-in-trace-packet -- Show current use of remote protocol `InstallInTrace' (install-in-trace) packet # 显示远程协议“InstallInTrace”(安装跟踪)数据包的当前使用
show remote interrupt-on-connect -- Show whether interrupt-sequence is sent to remote target when gdb connects to # 显示当 gdb 连接到时是否将中断序列发送到远程目标
show remote interrupt-sequence -- Show interrupt sequence to remote target # 显示远程目标的中断序列
show remote kill-packet -- Show current use of remote protocol `vKill' (kill) packet # 显示当前使用的远程协议 `vKill'(kill) 数据包
show remote library-info-packet -- Show current use of remote protocol `qXfer:libraries:read' (library-info) packet # 显示当前使用的远程协议 `qXfer:libraries:read' (library-info) 数据包
show remote library-info-svr4-packet -- Show current use of remote protocol `qXfer:libraries-svr4:read'(library-info-svr4) packet # 显示当前使用的远程协议 `qXfer:libraries-svr4:read' (library-info-svr4) 数据包
show remote memory-map-packet -- Show current use of remote protocol `qXfer:memory-map:read' (memory-map) packet # 显示当前使用的远程协议 `qXfer:memory-map:read' (memory-map) 数据包
show remote memory-read-packet-size -- Show the maximum number of bytes per memory-read packet # 显示每个内存读取数据包的最大字节数
show remote memory-write-packet-size -- Show the maximum number of bytes per memory-write packet # 显示每个内存写入数据包的最大字节数
show remote multiprocess-feature-packet -- Show current use of remote protocol `multiprocess-feature'(multiprocess-feature) packet # 显示当前使用的远程协议 `multiprocess-feature' (multiprocess-feature) 数据包
show remote no-resumed-stop-reply-packet -- Show current use of remote protocol `N stop reply' (no-resumed-stop-reply) packet # 显示当前使用的远程协议 `N stop reply' (no-resumed-stop-reply) 数据包
show remote noack-packet -- Show current use of remote protocol `QStartNoAckMode'(noack) packet # 显示当前使用的远程协议 `QStartNoAckMode' (noack) 数据包
show remote osdata-packet -- Show current use of remote protocol `qXfer:osdata:read' (osdata) packet # 显示当前使用的远程协议 `qXfer:osdata:read' (osdata) 数据包
show remote p-packet -- Show current use of remote protocol `p'(fetch-register) packet # 显示远程协议“p”(获取寄存器)数据包的当前使用
show remote pass-signals-packet -- Show current use of remote protocol `QPassSignals' (pass-signals) packet # 显示远程协议“QPassSignals”(传递信号)数据包的当前使用
show remote pid-to-exec-file-packet -- Show current use of remote protocol `qXfer:exec-file:read' (pid-to-exec-file) packet # 显示远程协议 `qXfer:exec-file:read'(pid-to-exec-file) 数据包的当前使用
show remote program-signals-packet -- Show current use of remote protocol `QProgramSignals' (program-signals) packet # 显示当前使用的远程协议“QProgramSignals”(程序信号)数据包
show remote query-attached-packet -- Show current use of remote protocol `qAttached' (query-attached) packet # 显示远程协议“qAttached”(附加查询)数据包的当前使用
show remote read-aux-vector-packet -- Show current use of remote protocol `qXfer:auxv:read'(read-aux-vector) packet # 显示当前使用的远程协议 `qXfer:auxv:read' (read-aux-vector) 数据包
show remote read-btrace-conf-packet -- Show current use of remote protocol `qXfer:btrace-conf' (read-btrace-conf) packet # 显示当前使用的远程协议 `qXfer:btrace-conf' (read-btrace-conf) 数据包
show remote read-btrace-packet -- Show current use of remote protocol `qXfer:btrace'(read-btrace) packet # 显示当前使用的远程协议 `qXfer:btrace' (read-btrace) 数据包
show remote read-fdpic-loadmap-packet -- Show current use of remote protocol `qXfer:fdpic:read' (read-fdpic-loadmap) packet # 显示当前使用的远程协议 `qXfer:fdpic:read' (read-fdpic-loadmap) 数据包
show remote read-sdata-object-packet -- Show current use of remote protocol `qXfer:statictrace:read'(read-sdata-object) packet # 显示当前使用的远程协议 `qXfer:statictrace:read' (read-sdata-object) 数据包
show remote read-siginfo-object-packet -- Show current use of remote protocol `qXfer:siginfo:read' (read-siginfo-object) packet # 显示当前使用的远程协议 `qXfer:siginfo:read' (read-siginfo-object) 数据包
show remote read-spu-object-packet -- Show current use of remote protocol `qXfer:spu:read'(read-spu-object) packet # 显示当前使用的远程协议 `qXfer:spu:read' (read-spu-object) 数据包
show remote read-watchpoint-packet -- Show current use of remote protocol `Z3' (read-watchpoint) packet # 显示远程协议“Z3”(读取观察点)数据包的当前使用
show remote reverse-continue-packet -- Show current use of remote protocol `bc' (reverse-continue) packet # 显示远程协议“bc”(反向继续)数据包的当前使用
show remote reverse-step-packet -- Show current use of remote protocol `bs'(reverse-step) packet # 显示远程协议“bs”(反向)数据包的当前使用
show remote run-packet -- Show current use of remote protocol `vRun' (run) packet # 显示远程协议“vRun”(运行)数据包的当前使用情况
show remote search-memory-packet -- Show current use of remote protocol `qSearch:memory' (search-memory) packet # 显示当前使用的远程协议 `qSearch:memory'(search-memory) 数据包
show remote set-register-packet -- Show current use of remote protocol `P' (set-register) packet # 显示远程协议“P”(设置寄存器)数据包的当前使用
show remote software-breakpoint-packet -- Show current use of remote protocol `Z0' (software-breakpoint) packet # 显示远程协议“Z0”(软件断点)数据包的当前使用
show remote static-tracepoints-packet -- Show current use of remote protocol `StaticTracepoints'(static-tracepoints) packet # 显示当前使用的远程协议 `StaticTracepoints' (static-tracepoints) 数据包
show remote supported-packets-packet -- Show current use of remote protocol `qSupported' (supported-packets) packet # 显示当前使用的远程协议 `qSupported' (supported-packets) 数据包
show remote swbreak-feature-packet -- Show current use of remote protocol `swbreak-feature'(swbreak-feature) packet # 显示当前使用远程协议 `swbreak-feature' (swbreak-feature) 数据包
show remote symbol-lookup-packet -- Show current use of remote protocol `qSymbol' (symbol-lookup) packet # 显示远程协议“qSymbol”(符号查找)数据包的当前使用
show remote system-call-allowed -- Show if the host system(3) call is allowed for the target # 显示目标是否允许主机系统调用
show remote target-features-packet -- Show current use of remote protocol `qXfer:features:read' (target-features) packet # 显示当前使用的远程协议 `qXfer:features:read'(target-features) 数据包
show remote thread-events-packet -- Show current use of remote protocol `QThreadEvents' (thread-events) packet # 显示远程协议“QThreadEvents”(线程事件)数据包的当前使用情况
show remote threads-packet -- Show current use of remote protocol `qXfer:threads:read' (threads) packet # 显示远程协议“qXfer:threads:read”(线程)数据包的当前使用
show remote trace-buffer-size-packet -- Show current use of remote protocol `QTBuffer:size'(trace-buffer-size) packet # 显示当前使用的远程协议 `QTBuffer:size' (trace-buffer-size) 数据包
show remote trace-status-packet -- Show current use of remote protocol `qTStatus' (trace-status) packet # 显示远程协议“qTStatus”(跟踪状态)数据包的当前使用情况
show remote traceframe-info-packet -- Show current use of remote protocol `qXfer:traceframe-info:read' (traceframe-info) packet # 显示当前使用的远程协议 `qXfer:traceframe-info:read'(traceframe-info) 数据包
show remote unwind-info-block-packet -- Show current use of remote protocol `qXfer:uib:read' (unwind-info-block) packet # 显示当前使用的远程协议 `qXfer:uib:read' (unwind-info-block) 数据包
show remote verbose-resume-packet -- Show current use of remote protocol `vCont'(verbose-resume) packet # 显示当前使用的远程协议 `vCont' (verbose-resume) 数据包
show remote verbose-resume-supported-packet -- Show current use of remote protocol `vContSupported' (verbose-resume-supported) packet # 显示远程协议“vContSupported”(支持详细恢复)数据包的当前使用
show remote vfork-event-feature-packet -- Show current use of remote protocol `vfork-event-feature' (vfork-event-feature) packet # 显示当前使用远程协议 `vfork-event-feature'(vfork-event-feature) 数据包
show remote write-siginfo-object-packet -- Show current use of remote protocol `qXfer:siginfo:write' (write-siginfo-object) packet # 显示当前使用的远程协议 `qXfer:siginfo:write' (write-siginfo-object) 数据包
show remote write-spu-object-packet -- Show current use of remote protocol `qXfer:spu:write'(write-spu-object) packet # 显示当前使用的远程协议 `qXfer:spu:write' (write-spu-object) 数据包
show remote write-watchpoint-packet -- Show current use of remote protocol `Z2' (write-watchpoint) packet # 显示远程协议“Z2”(写入观察点)数据包的当前使用情况
show remoteaddresssize -- Show the maximum size of the address (in bits) in a memory packet # 显示内存包中地址的最大大小(以位为单位)
show remotecache -- Show cache use for remote targets # 显示远程目标的缓存使用
show remoteflow -- Show use of hardware flow control for remote serial I/O # 展示对远程串行 I/O 的硬件流控制的使用
show remotelogbase -- Show numerical base for remote session logging # 显示远程会话记录的数字基数
show remotelogfile -- Show filename for remote session recording # 显示远程会话记录的文件名
show remotetimeout -- Show timeout limit to wait for target to respond # 显示超时限制以等待目标响应
show remotewritesize -- Show the maximum number of bytes per memory write packet (deprecated) # 显示每个内存写入数据包的最大字节数(不推荐)
show schedule-multiple -- Show mode for resuming threads of all processes # 显示恢复所有进程线程的模式
show scheduler-locking -- Show mode for locking scheduler during execution # 执行期间锁定调度程序的显示模式
show script-extension -- Show mode for script filename extension recognition # 脚本文件扩展名识别的显示模式
show serial -- Show default serial/parallel port configuration # 显示默认串行/并行端口配置
show serial baud -- Show baud rate for remote serial I/O # 显示远程串行 I/O 的波特率
show serial parity -- Show parity for remote serial I/O # 显示远程串行 I/O 的奇偶校验
show solib-absolute-prefix -- Show the current system root # 显示当前系统根目录
show solib-search-path -- Show the search path for loading non-absolute shared library symbol files # 显示加载非绝对共享库符号文件的搜索路径
show stack-cache -- Show cache use for stack access # 显示用于堆栈访问的缓存
show startup-with-shell -- Show use of shell to start subprocesses # 显示使用 shell 来启动子进程
show step-mode -- Show mode of the step operation # 步进操作的显示模式
show stop-on-solib-events -- Show stopping for shared library events # 显示共享库事件的停止
show struct-convention -- Show the convention for returning small structs # 显示返回小结构的约定
show substitute-path -- Usage: show substitute-path [FROM] # 用法:显示替代路径 [FROM]
show sysroot -- Show the current system root # 显示当前系统根目录
show target-charset -- Show the target character set # 显示目标字符集
show target-file-system-kind -- Show assumed file system kind for target reported file names # 显示目标报告文件名的假定文件系统类型
show target-wide-charset -- Show the target wide character set # 显示目标宽字符集
show tcp -- TCP protocol specific variables # TCP 协议特定变量
show tcp auto-retry -- Show auto-retry on socket connect # 在套接字连接上显示自动重试
show tcp connect-timeout -- Show timeout limit in seconds for socket connection # 以秒为单位显示套接字连接的超时限制
show tdesc -- Show target description specific variables # 显示目标描述特定变量
show tdesc filename -- Show the file to read for an XML target description # 显示要读取的文件以获取 XML 目标描述
show trace-buffer-size -- Show requested size of trace buffer # 显示请求的跟踪缓冲区大小
show trace-commands -- Show state of GDB CLI command tracing # 显示 GDB CLI 命令跟踪的状态
show trace-notes -- Show the notes string to use for current and future trace runs # 显示用于当前和未来跟踪运行的注释字符串
show trace-stop-notes -- Show the notes string to use for future tstop commands # 显示用于未来 tstop 命令的注释字符串
show trace-user -- Show the user name to use for current and future trace runs # 显示用于当前和未来跟踪运行的用户名
show trust-readonly-sections -- Show mode for reading from readonly sections # 从只读部分读取的显示模式
show tui -- TUI configuration variables # TUI 配置变量
show tui active-border-mode -- Show the attribute mode to use for the active TUI window border # 显示用于活动 TUI 窗口边框的属性模式
show tui border-kind -- Show the kind of border for TUI windows # 显示 TUI 窗口的边框类型
show tui border-mode -- Show the attribute mode to use for the TUI window borders # 显示用于 TUI 窗口边框的属性模式
show unwind-on-terminating-exception -- Show unwinding of stack if std::terminate() is called while in a call dummy # 如果 std::terminate() 在 call dummy 中被调用,则显示堆栈展开
show unwindonsignal -- Show unwinding of stack if a signal is received while in a call dummy # 如果在调用虚拟中接收到信号,则显示堆栈展开
show use-coredump-filter -- Show whether gcore should consider /proc/PID/coredump_filter # 显示 gcore 是否应该考虑 /proc/PID/coredump_filter
show use-deprecated-index-sections -- Show whether to use deprecated gdb_index sections # 显示是否使用已弃用的 gdb_index 部分
show user -- Show definitions of non-python/scheme user defined commands # 显示非 python/scheme 用户定义命令的定义
show values -- Elements of value history around item number IDX (or last ten) # 项目编号 IDX(或最后十个)周围的价值历史元素
show verbose -- Show verbosity # 显示详细程度
show version -- Show what version of GDB this is # 显示这是什么版本的 GDB
show warranty -- Various kinds of warranty you do not have # 您没有的各种warranty
show watchdog -- Show watchdog timer # 显示看门狗定时器
show width -- Show number of characters where GDB should wrap lines of its output # 显示 GDB 应在其输出中换行的字符数
show write -- Show writing into executable and core files # 显示写入可执行Command class: status(状态)
info -- Generic command for showing things about the program being debugged # 用于显示有关正在调试的程序的通用命令
info address -- Describe where symbol SYM is stored # 描述符号 SYM 的存储位置
info all-registers -- List of all registers and their contents # 所有寄存器列表及其内容
info args -- Argument variables of current stack frame # 当前堆栈帧的参数变量
info auto-load -- Print current status of auto-loaded files # 打印自动加载文件的当前状态
info auto-load gdb-scripts -- Print the list of automatically loaded sequences of commands # 打印自动加载的命令序列列表
info auto-load libthread-db -- Print the list of loaded inferior specific libthread_db # 打印加载的inferior特定 libthread_db 列表
info auto-load local-gdbinit -- Print whether current directory .gdbinit file has been loaded # 打印当前目录.gdbinit文件是否已经加载
info auto-load python-scripts -- Print the list of automatically loaded Python scripts # 打印自动加载的 Python 脚本列表
info auxv -- Display the inferior's auxiliary vector # 显示下级的辅助向量
info bookmarks -- Status of user-settable bookmarks
info breakpoints -- Status of specified breakpoints (all user-settable breakpoints if no argument)# 指定断点的状态(如果没有参数,则为所有用户可设置的断点)
info checkpoints -- IDs of currently known checkpoints # 当前已知检查点的 ID
info classes -- All Objective-C classes # 所有 Objective-C 类
info common -- Print out the values contained in a Fortran COMMON block # 打印出 Fortran COMMON 块中包含的值
info copying -- Conditions for redistributing copies of GDB # 重新分发 GDB 副本的条件
info dcache -- Print information on the dcache performance # 打印有关 dcache 性能的信息
info display -- Expressions to display when program stops # 程序停止时显示的表达式
info exceptions -- List all Ada exception names # 列出所有 Ada 异常名称
info extensions -- All filename extensions associated with a source language # 与源语言关联的所有文件扩展名
info files -- Names of targets and files being debugged # 正在调试的目标和文件的名称
info float -- Print the status of the floating point unit # 打印浮点单元的状态
info frame -- All about selected stack frame # 所有关于选定的堆栈帧
info frame-filter -- List all registered Python frame-filters # 列出所有已注册的 Python 帧过滤器
info functions -- All function names # 所有函数名称
info guile -- Prefix commandfor Guile info displays # Guile 信息显示的前缀命令
info handle -- What debugger does when program gets various signals # 当程序收到各种信号时调试器会做什么
info inferiors -- IDs of specified inferiors (all inferiors if no argument)# 指定下级的 ID(如果没有参数,则为所有下级)
info line -- Core addresses of the code for a source line # 源代码行的核心地址
info locals -- Local variables of current stack frame # 当前栈帧的局部变量
info macro -- Show the definition of MACRO # 显示 MACRO 的定义
info macros -- Show the definitions of all macros at LINESPEC # 在 LINESPEC 显示所有宏的定义
info mem -- Memory region attributes # Memory region attributes
info os -- Show OS data ARG # Show OS data ARG
info pretty-printer -- GDB command to list all registered pretty-printers # GDB 命令列出所有已注册的漂亮打印机
info probes -- Show available static probes # 显示可用的静态探针
info probes all -- Show information about all type of probes # 显示有关所有类型探头的信息
info probes dtrace -- Show information about DTrace static probes # 显示有关 DTrace 静态探针的信息
info probes stap -- Show information about SystemTap static probes # 显示有关 SystemTap 静态探针的信息
info proc -- Show /proc process information about any running process # 显示有关任何正在运行的进程的 /proc 进程信息
info proc all -- List all available /proc info # 列出所有可用的 /proc 信息
info proc cmdline -- List command line arguments of the process # 列出进程的命令行参数
info proc cwd -- List current working directory of the process # 列出进程的当前工作目录
info proc exe -- List absolute filename for executable of the process # 列出进程可执行文件的绝对文件名
info proc mappings -- List of mapped memory regions # 映射内存区域列表
info proc stat -- List process info from /proc/PID/stat # 列出来自 /proc/PID/stat 的进程信息
info proc status -- List process info from /proc/PID/status # 从 /proc/PID/status 列出进程信息
info program -- Execution status of the program # 程序执行状态
info record -- Info record options # 信息记录选项
info registers -- List of integer registers and their contents # 整数寄存器列表及其内容
info scope -- List the variables local to a scope # 列出作用域的局部变量
info selectors -- All Objective-C selectors # 所有 Objective-C 选择器
info set -- Show all GDB settings # 显示所有 GDB 设置
info sharedlibrary -- Status of loaded shared object libraries # 加载的共享对象库的状态
info signals -- What debugger does when program gets various signals # 当程序收到各种信号时调试器会做什么
info skip -- Display the status of skips # 显示跳过的状态
info source -- Information about the current sourcefile# 当前源文件的信息
info sources -- Source files in the program # 程序中的源文件
info stack -- Backtrace of the stack # 堆栈的回溯
info static-tracepoint-markers -- List target static tracepoints markers # 列出目标静态跟踪点标记
info symbol -- Describe what symbol is at location ADDR # 描述地址 ADDRESS 的符号是什么
info target -- Names of targets and files being debugged # 正在调试的目标和文件的名称
info tasks -- Provide information about all known Ada tasks # 提供有关所有已知 Ada 任务的信息
info terminal -- Print inferior's saved terminal status # 打印inferior保存的终端状态
info threads -- Display currently known threads # 显示当前已知线程
info tracepoints -- Status of specified tracepoints (all tracepoints if no argument)# 指定跟踪点的状态(如果没有参数,则为所有跟踪点)
info tvariables -- Status of trace state variables and their values # 跟踪状态变量的状态及其值
info type-printers -- GDB command to list all registered type-printers # GDB 命令列出所有已注册的打字机
info types -- All type names # 所有类型名称
info unwinder -- GDB command to list unwinders # 列出展开器的 GDB 命令
info variables -- All global and static variable names # 所有全局和静态变量名
info vector -- Print the status of the vector unit # 打印向量单元的状态
info vtbl -- Show the virtual function table for a C++ object # 显示 C++ 对象的虚函数表
info warranty -- Various kinds of warranty you do not have # 您没有的各种warranty
info watchpoints -- Status of specified watchpoints (all watchpoints if no argument)# 指定观察点的状态(如果没有参数,则为所有观察点)
info win -- List of all displayed windows # 所有显示窗口的列表
info xmethod -- GDB command to list registered xmethod matchers # GDB 命令列出已注册的 xmethod 匹配器
macro -- Prefix for commands dealing with C preprocessor macros # 处理 C 预处理器宏的命令的前缀
macro define -- Define a new C/C++ preprocessor macro # 定义一个新的 C/C++ 预处理器宏
macro expand -- Fully expand any C/C++ preprocessor macro invocations in EXPRESSION # 完全扩展 EXPRESSION 中的任何 C/C++ 预处理器宏调用
macro expand-once -- Expand C/C++ preprocessor macro invocations appearing directly in EXPRESSION # 展开直接出现在 EXPRESSION 中的 C/C++ 预处理器宏调用
macro list -- List all the macros defined using the `macro define' command # 列出使用“宏定义”命令定义的所有宏
macro undef -- Remove the definition of the C/C++ preprocessor macro with the given name # 删除具有给定名称的 C/C++ 预处理器宏的定义
show -- Generic command for showing things about the debugger # 用于显示有关调试器的通用命令
show ada -- Generic command for showing Ada-specific settings # 用于显示 Ada 特定设置的通用命令
show ada print-signatures -- Show whether the output of formal and return types for functions in the overloads selection menu is activated # 显示重载选择菜单中函数的形式和返回类型的输出是否被激活
show ada trust-PAD-over-XVS -- Show whether an optimization trusting PAD types over XVS types is activated # 显示是否激活了优化信任 PAD 类型而不是 XVS 类型
show agent -- Show debugger's willingness to use agent as a helper # 显示调试器愿意使用代理作为助手
show annotate -- Show annotation_level # 显示 annotation_level
show architecture -- Show architecture of target # 显示目标架构
show args -- Show argument list to give program being debugged when it is started # 显示参数列表以在程序启动时提供正在调试的程序
show auto-connect-native-target -- Show whether GDB may automatically connect to the native target # 显示 GDB 是否可以自动连接到本机目标
show auto-load -- Show auto-loading specific settings # 显示自动加载特定设置
show auto-load gdb-scripts -- Show whether auto-loading of canned sequences of commands scripts is enabled # 显示是否启用了自动加载预设的命令脚本序列
show auto-load libthread-db -- Show whether auto-loading inferior specific libthread_db is enabled # 显示是否启用了自动加载劣质特定 libthread_db
show auto-load local-gdbinit -- Show whether auto-loading .gdbinit script in current directory is enabled # 显示是否启用在当前目录中自动加载 .gdbinit 脚本
show auto-load python-scripts -- Show the debugger's behaviour regarding auto-loaded Python scripts # 显示调试器关于自动加载的 Python 脚本的行为
show auto-load safe-path -- Show the list of files and directories that are safe for auto-loading # 显示可安全自动加载的文件和目录列表
show auto-load scripts-directory -- Show the list of directories from which to load auto-loaded scripts # 显示要从中加载自动加载脚本的目录列表
show auto-solib-add -- Show autoloading of shared library symbols # 显示共享库符号的自动加载
show backtrace -- Show backtrace specific variables # 显示回溯特定变量
show backtrace limit -- Show the upper bound on the number of backtrace levels # 显示回溯级别数的上限
show backtrace past-entry -- Show whether backtraces should continue past the entry point of a program # 显示回溯是否应该继续超过程序的入口点
show backtrace past-main -- Show whether backtraces should continue past "main" # 显示回溯是否应该继续超过“main”
show basenames-may-differ -- Show whether a source file may have multiple base names # 显示一个源文件是否可以有多个基本名称
show breakpoint -- Breakpoint specific settings # 断点特定设置
show breakpoint always-inserted -- Show mode for inserting breakpoints # 插入断点的显示模式
show breakpoint auto-hw -- Show automatic usage of hardware breakpoints # 显示硬件断点的自动使用
show breakpoint condition-evaluation -- Show mode of breakpoint condition evaluation # 断点条件评估的显示模式
show breakpoint pending -- Show debugger's behavior regarding pending breakpoints # 显示调试器关于挂起断点的行为
show can-use-hw-watchpoints -- Show debugger's willingness to use watchpoint hardware # 显示调试器愿意使用观察点硬件
show case-sensitive -- Show case sensitivity in name search # 在名称搜索中显示区分大小写
show charset -- Show the host and target character sets # 显示主机和目标字符集
show check -- Show the status of the type/range checker # 显示类型/范围检查器的状态
show check range -- Show range checking # 显示范围检查
show check type -- Show strict type checking # 显示严格的类型检查
show circular-trace-buffer -- Show target's use of circular trace buffer # 显示目标对循环跟踪缓冲区的使用
show code-cache -- Show cache use for code segment access # 显示用于代码段访问的缓存
show coerce-float-to-double -- Show coercion of floats to doubles when calling functions # 调用函数时将浮点数强制转换为双精度数
show commands -- Show the history of commands you typed # 显示您键入的命令的历史记录
show compile-args -- Show compile command GCC command-line arguments # 显示编译命令 GCC 命令行参数
show complaints -- Show max number of complaints about incorrect symbols # 显示有关错误符号的最大报错数量
show configuration -- Show how GDB was configured at build time# 展示如何在构建时配置 GDB
show confirm -- Show whether to confirm potentially dangerous operations # 显示是否确认有潜在危险的操作
show convenience -- Debugger convenience ("$foo") variables and functions # 调试器便利 ("$foo") 变量和函数
show copying -- Conditions for redistributing copies of GDB # 重新分发 GDB 副本的条件
show cp-abi -- Show the ABI used for inspecting C++ objects # 显示用于检查 C++ 对象的 ABI
show data-directory -- Show GDB's data directory # 显示 GDB 的数据目录
show dcache -- Show dcachesettings # 显示 dcachesettings
show dcache line-size -- Show dcache line size # 显示 dcache 行大小
show dcache size -- Show number of dcache lines # 显示 dcache 行数
show debug -- Generic command for showing gdb debugging flags # 用于显示 gdb 调试标志的通用命令
show debug arch -- Show architecture debugging # 显示架构调试
show debug auto-load -- Show auto-load verifications debugging # 显示自动加载验证调试
show debug bfd-cache -- Show bfd cache debugging # 显示 bfd 缓存调试
show debug check-physname -- Show cross-checking of "physname" code against demangler # 显示对 demangler 的“physname”代码的交叉检查
show debug coff-pe-read -- Show coff PE read debugging # 显示 coff PE 读取调试
show debug compile -- Show compile command debugging # 显示编译命令调试
show debug displaced -- Show displaced stepping debugging # 显示位移步进调试
show debug dwarf-die -- Show debugging of the DWARF DIE reader # 显示 DWARF DIE 阅读器的调试
show debug dwarf-line -- Show debugging of the dwarf line reader # 显示dwarf行阅读器的调试
show debug dwarf-read -- Show debugging of the DWARF reader # 显示 DWARF 阅读器的调试
show debug entry-values -- Show entry values and tail call frames debugging # 显示入口值和尾调用帧调试
show debug expression -- Show expression debugging #显示表达式调试
show debug frame -- Show frame debugging # 显示帧调试
show debug infrun -- Show inferior debugging # 显示inferior调试
show debug jit -- Show JIT debugging # 显示 JIT 调试
show debug libthread-db -- Show libthread-db debugging # 显示 libthread-db 调试
show debug lin-lwp -- Show debugging of GNU/Linux lwp module # 显示 GNU/Linux lwp 模块的调试
show debug linux-namespaces -- Show debugging of GNU/Linux namespaces module # 显示 GNU/Linux 命名空间模块的调试
show debug notification -- Show debugging of async remote notification # 显示异步远程通知的调试
show debug observer -- Show observer debugging # 显示观察者调试
show debug overload -- Show debugging of C++ overloading # 显示 C++ 重载的调试
show debug parser -- Show parser debugging # 显示解析器调试
show debug py-unwind -- Show Python unwinder debugging # 显示 Python 展开器调试
show debug record -- Show debugging of record/replay feature # 显示记录/回放功能的调试
show debug remote -- Show debugging of remote protocol # 显示远程协议的调试
show debug serial -- Show serial debugging # 显示串口调试
show debug stap-expression -- Show SystemTap expression debugging # 显示 SystemTap 表达式调试
show debug symbol-lookup -- Show debugging of symbol lookup # 显示符号查找的调试
show debug symfile -- Show debugging of the symfile functions # 显示符号文件功能的调试
show debug symtab-create -- Show debugging of symbol table creation # 显示符号表创建的调试
show debug target -- Show target debugging # 显示目标调试
show debug timestamp -- Show timestamping of debugging messages # 显示调试消息的时间戳
show debug varobj -- Show varobj debugging # 显示 varobj 调试
show debug xml -- Show XML parser debugging # 显示 XML 解析器调试
show debug-file-directory -- Show the directories where separate debug symbols are searched for # 显示搜索单独调试符号的目录
show default-collect -- Show the list of expressions to collect by default # 显示默认收集的表达式列表
show demangle-style -- Show the current C++ demangling style # 显示当前的 C++ 拆解样式
show detach-on-fork -- Show whether gdb will detach the child of a fork # 显示 gdb 是否会分离 fork 的子代
show directories -- Show the search path for finding source files # 显示查找源文件的搜索路径
show disable-randomization -- Show disabling of debuggee's virtual address space randomization # 显示禁用被调试对象的虚拟地址空间随机化
show disassemble-next-line -- Show whether to disassemble next source line or insn when execution stops # 显示执行停止时是否反汇编下一个源代码行或 insn
show disassembly-flavor -- Show the disassembly flavor # 展现拆解 flavor
show disconnected-dprintf -- Show whether dprintf continues after GDB disconnects # 显示 GDB 断开连接后 dprintf 是否继续
show disconnected-tracing -- Show whether tracing continues after GDB disconnects # 显示 GDB 断开连接后是否继续跟踪
show displaced-stepping -- Show debugger's willingness to use displaced stepping # 显示调试器愿意使用位移步进
show dprintf-channel -- Show the channel to use for dynamic printf # 显示用于动态 printf 的通道
show dprintf-function -- Show the function to use for dynamic printf # 显示用于动态 printf 的函数
show dprintf-style -- Show the style of usage for dynamic printf # 显示动态 printf 的使用风格
show editing -- Show editing of command lines as they are typed # 在键入时显示对命令行的编辑
show endian -- Show endianness of target # 显示目标的字节顺序
show environment -- The environment to give the program # 给程序的环境
show exec-direction -- Show direction of execution (forward/reverse) # 显示执行方向(正向/反向)
show exec-done-display -- Show notification of completion for asynchronous execution commands # 显示异步执行命令的完成通知
show exec-wrapper -- Show the wrapper for running programs # 显示运行程序的包装器
show extended-prompt -- Show the extended prompt # Show the extended prompt
show extension-language -- Show mapping between filename extension and source language # 显示文件扩展名和源语言之间的映射
show filename-display -- Show how to display filenames # 显示如何显示文件名
show follow-exec-mode -- Show debugger response to a program call of exec # 显示调试器对 exec 程序调用的响应
show follow-fork-mode -- Show debugger response to a program call of fork or vfork # 显示调试器对 fork 或 vfork 程序调用的响应
show frame-filter -- Prefix command for 'show' frame-filter related operations # 'show' 帧过滤器相关操作的前缀命令
show frame-filter priority -- GDB command to show the priority of the specified frame-filter # GDB 命令显示指定帧过滤器的优先级
show gnutarget -- Show the current BFD target # 显示当前 BFD 目标
show guile -- Prefix command for Guile preference settings # Guile 首选项设置的前缀命令
show guile print-stack -- Show the mode of Guile exception printing on error # 错误时显示 Guile 异常打印模式
show height -- Show number of lines in a page for GDB output pagination # 显示 GDB 输出分页的页面中的行数
show history -- Generic command for showing command history parameters # 用于显示命令历史参数的通用命令
show history expansion -- Show history expansion on command input # 在命令输入上显示历史扩展
show history filename -- Show the filename in which to record the command history # 显示记录命令历史的文件名
show history remove-duplicates -- Show how far back in history to look for and remove duplicate entries # 显示查找和删除重复条目的历史记录
show history save -- Show saving of the history record on exit # 退出时显示历史记录的保存
show history size -- Show the size of the command history # 显示命令历史的大小
show host-charset -- Show the host character set # 显示主机字符集
show inferior-tty -- Show terminal for future runs of program being debugged # 显示终端以供将来运行正在调试的程序
show input-radix -- Show default input radix for entering numbers # 显示输入数字的默认输入基数
show interactive-mode -- Show whether GDB's standard input is a terminal # 显示 GDB 的标准输入是否是终端
show language -- Show the current source language # 显示当前源语言
show libthread-db-search-path -- Show the current search path or libthread_db # 显示当前搜索路径或 libthread_db
show listsize -- Show number of source lines gdb will list by default # 显示 gdb 默认列出的源代码行数
show logging -- Show logging options # 显示日志记录选项
show logging file -- Show the current logfile # 显示当前日志文件
show logging overwrite -- Show whether logging overwrites or appends to the log file# 显示日志记录是覆盖还是附加到日志文件
show logging redirect -- Show the logging output mode # 显示日志输出模式
show max-completions -- Show maximum number of completion candidates # 显示完成候选的最大数量
show max-user-call-depth -- Show the max call depth for non-python/scheme user-defined commands # 显示非 python/scheme 用户定义命令的最大调用深度
show max-value-size -- Show maximum sized value gdb will load from the inferior # 显示 gdb 将从下级加载的最大大小值
show may-insert-breakpoints -- Show permission to insert breakpoints in the target # 显示在目标中插入断点的权限
show may-insert-fast-tracepoints -- Show permission to insert fast tracepoints in the target # 显示在目标中插入快速跟踪点的权限
show may-insert-tracepoints -- Show permission to insert tracepoints in the target # 显示在目标中插入跟踪点的权限
show may-interrupt -- Show permission to interrupt or signal the target # 显示允许打断或向目标发出信号
show may-write-memory -- Show permission to write into target memory # 显示写入目标内存的权限
show may-write-registers -- Show permission to write into registers # 显示写入寄存器的权限
show mem -- Memory regions settings # 内存区域设置
show mem inaccessible-by-default -- Show handling of unknown memory regions # 显示未知内存区域的处理
show mi-async -- Show whether MI asynchronous mode is enabled # 显示是否开启 MI 异步模式
show mpx -- Show Intel Memory Protection Extensions specific variables # 显示英特尔内存保护扩展特定变量
show mpx bound -- Show the memory bounds for a given array/pointer storage in the bound table # 在绑定表中显示给定数组/指针存储的内存边界
show multiple-symbols -- Show how the debugger handles ambiguities in expressions # 显示调试器如何处理表达式中的歧义
show non-stop -- Show whether gdb controls the inferior in non-stop mode # 显示gdb是否在不间断模式下控制inferior
show observer -- Show whether gdb controls the inferior in observer mode # 显示gdb是否在观察者模式下控制inferior
show opaque-type-resolution -- Show resolution of opaque struct/class/union types (if set before loading symbols)# 显示不透明结构/类/联合类型的分辨率(如果在加载符号之前设置)
show osabi -- Show OS ABI of target # 显示目标的 OS ABI
show output-radix -- Show default output radix for printing of values # 显示用于打印值的默认输出基数
show overload-resolution -- Show overload resolution in evaluating C++ functions # 在评估 C++ 函数时显示重载决议
show pagination -- Show state of GDB output pagination # 显示 GDB 输出分页状态
show paths -- Current search path for finding object files # 查找目标文件的当前搜索路径
show print -- Generic commandfor showing print settings # 用于显示打印设置的通用命令
show print address -- Show printing of addresses # 显示地址打印
show print array -- Show pretty formatting of arrays # 显示漂亮的数组格式
show print array-indexes -- Show printing of array indexes # 显示数组索引的打印
show print asm-demangle -- Show demangling of C++/ObjC names in disassembly listings # 在反汇编列表中显示 C++/ObjC 名称的拆解
show print demangle -- Show demangling of encoded C++/ObjC names when displaying symbols # 显示符号时显示编码的 C++/ObjC 名称的解构
show print elements -- Show limit on string chars or array elements to print # 显示要打印的字符串字符或数组元素的限制
show print entry-values -- Show printing of function arguments at function entry # 在函数入口处显示函数参数的打印
show print frame-arguments -- Show printing of non-scalar frame arguments # 显示非标量框架参数的打印
show print inferior-events -- Show printing of inferior events (e.g. # 显示打印inferior事件
show print max-symbolic-offset -- Show the largest offset that will be printed in<symbol+1234> form # 显示将以 <symbol+1234> 形式打印的最大偏移量
show print null-stop -- Show printing of char arrays to stop at first null char # 显示 char 数组的打印以在第一个 null char 处停止
show print object -- Show printing of object's derived type based on vtable info # 根据 vtable 信息显示对象派生类型的打印
show print pascal_static-members -- Show printing of pascal static members # 显示 pascal 静态成员的打印
show print pretty -- Show pretty formatting of structures # 显示结构的漂亮格式
show print raw -- Generic command for showing "print raw" settings # 用于显示“print raw”设置的通用命令
show print raw frame-arguments -- Show whether to print frame arguments in raw form # 显示是否以原始格式打印框架参数
show print repeats -- Show threshold for repeated print elements # 显示重复打印元素的阈值
show print sevenbit-strings -- Show printing of 8-bit characters in strings as \nnn # 将字符串中 8 位字符的打印显示为 \nnn
show print static-members -- Show printing of C++ static members # 显示 C++ 静态成员的打印
show print symbol -- Show printing of symbol names when printing pointers # 打印指针时显示符号名称的打印
show print symbol-filename -- Show printing of source filename and line number with <symbol> # 使用 <symbol> 显示源文件名和行号的打印
show print symbol-loading -- Show printing of symbol loading messages # 显示符号加载消息的打印
show print thread-events -- Show printing of thread events (such as thread start and exit) # 显示线程事件的打印(例如线程启动和退出)
show print type -- Generic command for showing type-printing settings # 用于显示类型打印设置的通用命令
show print type methods -- Show printing of methods defined in classes # 显示类中定义的方法的打印
show print type typedefs -- Show printing of typedefs defined in classes # 显示类中定义的 typedef 的打印
show print union -- Show printing of unions interior to structures # 显示结构内部的联合打印
show print vtbl -- Show printing of C++ virtual function tables # 显示 C++ 虚函数表的打印
show prompt -- Show gdb's prompt # 显示 gdb 的提示
show python -- Prefix commandfor python preference settings # python首选项设置的前缀命令
show python print-stack -- Show the mode of Python stack printing on error # 显示错误时 Python 堆栈打印的模式
show radix -- Show the default input and output number radices # 显示默认输入和输出数基数
show range-stepping -- Show whether target-assisted range stepping is enabled # 显示是否启用了目标辅助范围步进
show record -- Show record options # 显示记录选项
show record btrace -- Show record options # 显示记录选项
show record btrace bts -- Show record btrace bts options # 显示记录 btrace bts 选项
show record btrace bts buffer-size -- Show the record/replay bts buffer size # 显示记录/重播 bts 缓冲区大小
show record btrace pt -- Show record btrace pt options # 显示记录 btrace pt 选项
show record btrace pt buffer-size -- Show the record/replay pt buffer size # 显示记录/重播 pt 缓冲区大小
show record btrace replay-memory-access -- Show what memory accesses are allowed during replay # 显示重放期间允许的内存访问
show record full -- Show record options # 显示记录选项
show record full insn-number-max -- Show record/replay buffer limit # 显示记录/重播缓冲区限制
show record full memory-query -- Show whether query if PREC cannot record memory change of next instruction # 显示是否查询PREC是否无法记录下一条指令的内存变化
show record full stop-at-limit -- Show whether record/replay stops when record/replay buffer becomes full # 显示当记录/重放缓冲区满时记录/重放是否停止
show record function-call-history-size -- Show number of functions to print in"record function-call-history"# 在“记录函数调用历史”中显示要打印的函数数
show record instruction-history-size -- Show number of instructions to print in"record instruction-history"# 在“记录指令历史”中显示要打印的指令数
show remote -- Remote protocol specific variables # 远程协议特定变量
show remote P-packet -- Show current use of remote protocol `P' (set-register) packet # 显示远程协议“P”(设置寄存器)数据包的当前使用
show remote TracepointSource-packet -- Show current use of remote protocol `TracepointSource' (TracepointSource) packet # 显示当前使用的远程协议 `TracepointSource'(TracepointSource) 数据包
show remote X-packet -- Show current use of remote protocol `X' (binary-download) packet # 显示当前使用的远程协议“X”(二进制下载)数据包
show remote Z-packet -- Show use of remote protocol `Z' packets # 显示远程协议“Z”数据包的使用
show remote access-watchpoint-packet -- Show current use of remote protocol `Z4'(access-watchpoint) packet # 显示远程协议“Z4”(访问观察点)数据包的当前使用情况
show remote agent-packet -- Show current use of remote protocol `QAgent' (agent) packet # 显示当前使用的远程协议 "QAgent"(代理)数据包
show remote allow-packet -- Show current use of remote protocol `QAllow' (allow) packet # 显示当前使用远程协议“QAlow”(允许)数据包
show remote attach-packet -- Show current use of remote protocol `vAttach'(attach) packet # 显示当前使用的远程协议 "vAttach" (attach) 数据包
show remote binary-download-packet -- Show current use of remote protocol `X' (binary-download) packet # 显示当前使用的远程协议“X”(二进制下载)数据包
show remote breakpoint-commands-packet -- Show current use of remote protocol `BreakpointCommands' (breakpoint-commands) packet # 显示当前使用的远程协议 `BreakpointCommands'(breakpoint-commands) 数据包
show remote btrace-conf-bts-size-packet -- Show current use of remote protocol `Qbtrace-conf:bts:size' (btrace-conf-bts-size) packet # 显示当前使用的远程协议 `Qbtrace-conf:bts:size' (btrace-conf-bts-size) 数据包
show remote btrace-conf-pt-size-packet -- Show current use of remote protocol `Qbtrace-conf:pt:size'(btrace-conf-pt-size) packet # 显示当前使用的远程协议 `Qbtrace-conf:pt:size' (btrace-conf-pt-size) 数据包
show remote catch-syscalls-packet -- Show current use of remote protocol `QCatchSyscalls' (catch-syscalls) packet # 显示当前使用的远程协议 `QCatchSyscalls' (catch-syscalls) 数据包
show remote conditional-breakpoints-packet -- Show current use of remote protocol `ConditionalBreakpoints'(conditional-breakpoints) packet # 显示当前使用远程协议`Conditional Breakpoints'(条件断点)数据包
show remote conditional-tracepoints-packet -- Show current use of remote protocol `ConditionalTracepoints' (conditional-tracepoints) packet # 显示当前使用的远程协议 `ConditionalTracepoints' (conditional-tracepoints) 数据包
show remote ctrl-c-packet -- Show current use of remote protocol `vCtrlC'(ctrl-c) packet # 显示当前使用的远程协议 `vCtrlC' (ctrl-c) 数据包
show remote disable-btrace-packet -- Show current use of remote protocol `Qbtrace:off' (disable-btrace) packet # 显示当前使用的远程协议 `Qbtrace:off' (disable-btrace) 数据包
show remote disable-randomization-packet -- Show current use of remote protocol `QDisableRandomization'(disable-randomization) packet # 显示当前使用的远程协议 `QDisableRandomization' (disable-randomization) 数据包
show remote enable-btrace-bts-packet -- Show current use of remote protocol `Qbtrace:bts' (enable-btrace-bts) packet # 显示当前使用的远程协议 `Qbtrace:bts' (enable-btrace-bts) 数据包
show remote enable-btrace-pt-packet -- Show current use of remote protocol `Qbtrace:pt'(enable-btrace-pt) packet # 显示当前使用的远程协议 `Qbtrace:pt' (enable-btrace-pt) 数据包
show remote exec-event-feature-packet -- Show current use of remote protocol `exec-event-feature' (exec-event-feature) packet # 显示当前使用的远程协议 `exec-event-feature' (exec-event-feature) 数据包
show remote exec-file -- Show the remote pathname for "run" # 显示“run”的远程路径名
show remote fast-tracepoints-packet -- Show current use of remote protocol `FastTracepoints'(fast-tracepoints) packet # 显示当前使用的远程协议 `FastTracepoints' (fast-tracepoints) 数据包
show remote fetch-register-packet -- Show current use of remote protocol `p' (fetch-register) packet # 显示远程协议“p”(获取寄存器)数据包的当前使用
show remote fork-event-feature-packet -- Show current use of remote protocol `fork-event-feature' (fork-event-feature) packet # 显示当前使用远程协议 `fork-event-feature'(fork-event-feature) 数据包
show remote get-thread-information-block-address-packet -- Show current use of remote protocol `qGetTIBAddr' (get-thread-information-block-address) packet # 显示当前使用的远程协议 `qGetTIBAddr' (get-thread-information-block-address) 数据包
show remote get-thread-local-storage-address-packet -- Show current use of remote protocol `qGetTLSAddr'(get-thread-local-storage-address) packet # 显示当前使用的远程协议 `qGetTLSAddr' (get-thread-local-storage-address) 数据包
show remote hardware-breakpoint-limit -- Show the maximum number of target hardware breakpoints # 显示目标硬件断点的最大数量
show remote hardware-breakpoint-packet -- Show current use of remote protocol `Z1' (hardware-breakpoint) packet # 显示远程协议“Z1”(硬件断点)数据包的当前使用
show remote hardware-watchpoint-length-limit -- Show the maximum length (in bytes) of a target hardware watchpoint # 显示目标硬件观察点的最大长度(以字节为单位)
show remote hardware-watchpoint-limit -- Show the maximum number of target hardware watchpoints # 显示目标硬件观察点的最大数量
show remote hostio-close-packet -- Show current use of remote protocol `vFile:close' (hostio-close) packet # 显示当前使用的远程协议 `vFile:close'(hostio-close) 数据包
show remote hostio-fstat-packet -- Show current use of remote protocol `vFile:fstat' (hostio-fstat) packet # 显示当前使用的远程协议 `vFile:fstat' (hostio-fstat) 数据包
show remote hostio-open-packet -- Show current use of remote protocol `vFile:open'(hostio-open) packet # 显示当前使用的远程协议 `vFile:open' (hostio-open) 数据包
show remote hostio-pread-packet -- Show current use of remote protocol `vFile:pread' (hostio-pread) packet # 显示当前使用的远程协议 `vFile:pread' (hostio-pread) 数据包
show remote hostio-pwrite-packet -- Show current use of remote protocol `vFile:pwrite'(hostio-pwrite) packet # 显示当前使用的远程协议 `vFile:pwrite' (hostio-pwrite) 数据包
show remote hostio-readlink-packet -- Show current use of remote protocol `vFile:readlink' (hostio-readlink) packet # 显示当前使用的远程协议 `vFile:readlink' (hostio-readlink) 数据包
show remote hostio-setfs-packet -- Show current use of remote protocol `vFile:setfs'(hostio-setfs) packet # 显示当前使用的远程协议 `vFile:setfs' (hostio-setfs) 数据包
show remote hostio-unlink-packet -- Show current use of remote protocol `vFile:unlink' (hostio-unlink) packet # 显示当前使用的远程协议 `vFile:unlink' (hostio-unlink) 数据包
show remote hwbreak-feature-packet -- Show current use of remote protocol `hwbreak-feature'(hwbreak-feature) packet # 显示当前使用的远程协议 `hwbreak-feature' (hwbreak-feature) 数据包
show remote install-in-trace-packet -- Show current use of remote protocol `InstallInTrace' (install-in-trace) packet # 显示远程协议“InstallInTrace”(安装跟踪)数据包的当前使用
show remote interrupt-on-connect -- Show whether interrupt-sequence is sent to remote target when gdb connects to # 显示当 gdb 连接到时是否将中断序列发送到远程目标
show remote interrupt-sequence -- Show interrupt sequence to remote target # 显示远程目标的中断序列
show remote kill-packet -- Show current use of remote protocol `vKill' (kill) packet # 显示当前使用的远程协议 `vKill'(kill) 数据包
show remote library-info-packet -- Show current use of remote protocol `qXfer:libraries:read' (library-info) packet # 显示当前使用的远程协议 `qXfer:libraries:read' (library-info) 数据包
show remote library-info-svr4-packet -- Show current use of remote protocol `qXfer:libraries-svr4:read'(library-info-svr4) packet # 显示当前使用的远程协议 `qXfer:libraries-svr4:read' (library-info-svr4) 数据包
show remote memory-map-packet -- Show current use of remote protocol `qXfer:memory-map:read' (memory-map) packet # 显示当前使用的远程协议 `qXfer:memory-map:read' (memory-map) 数据包
show remote memory-read-packet-size -- Show the maximum number of bytes per memory-read packet # 显示每个内存读取数据包的最大字节数
show remote memory-write-packet-size -- Show the maximum number of bytes per memory-write packet # 显示每个内存写入数据包的最大字节数
show remote multiprocess-feature-packet -- Show current use of remote protocol `multiprocess-feature'(multiprocess-feature) packet # 显示当前使用的远程协议 `multiprocess-feature' (multiprocess-feature) 数据包
show remote no-resumed-stop-reply-packet -- Show current use of remote protocol `N stop reply' (no-resumed-stop-reply) packet # 显示当前使用的远程协议 `N stop reply' (no-resumed-stop-reply) 数据包
show remote noack-packet -- Show current use of remote protocol `QStartNoAckMode'(noack) packet # 显示当前使用的远程协议 `QStartNoAckMode' (noack) 数据包
show remote osdata-packet -- Show current use of remote protocol `qXfer:osdata:read' (osdata) packet # 显示当前使用的远程协议 `qXfer:osdata:read' (osdata) 数据包
show remote p-packet -- Show current use of remote protocol `p'(fetch-register) packet # 显示远程协议“p”(获取寄存器)数据包的当前使用
show remote pass-signals-packet -- Show current use of remote protocol `QPassSignals' (pass-signals) packet # 显示远程协议“QPassSignals”(传递信号)数据包的当前使用
show remote pid-to-exec-file-packet -- Show current use of remote protocol `qXfer:exec-file:read' (pid-to-exec-file) packet # 显示远程协议 `qXfer:exec-file:read'(pid-to-exec-file) 数据包的当前使用
show remote program-signals-packet -- Show current use of remote protocol `QProgramSignals' (program-signals) packet # 显示当前使用的远程协议“QProgramSignals”(程序信号)数据包
show remote query-attached-packet -- Show current use of remote protocol `qAttached' (query-attached) packet # 显示远程协议“qAttached”(附加查询)数据包的当前使用
show remote read-aux-vector-packet -- Show current use of remote protocol `qXfer:auxv:read'(read-aux-vector) packet # 显示当前使用的远程协议 `qXfer:auxv:read' (read-aux-vector) 数据包
show remote read-btrace-conf-packet -- Show current use of remote protocol `qXfer:btrace-conf' (read-btrace-conf) packet # 显示当前使用的远程协议 `qXfer:btrace-conf' (read-btrace-conf) 数据包
show remote read-btrace-packet -- Show current use of remote protocol `qXfer:btrace'(read-btrace) packet # 显示当前使用的远程协议 `qXfer:btrace' (read-btrace) 数据包
show remote read-fdpic-loadmap-packet -- Show current use of remote protocol `qXfer:fdpic:read' (read-fdpic-loadmap) packet # 显示当前使用的远程协议 `qXfer:fdpic:read' (read-fdpic-loadmap) 数据包
show remote read-sdata-object-packet -- Show current use of remote protocol `qXfer:statictrace:read'(read-sdata-object) packet # 显示当前使用的远程协议 `qXfer:statictrace:read' (read-sdata-object) 数据包
show remote read-siginfo-object-packet -- Show current use of remote protocol `qXfer:siginfo:read' (read-siginfo-object) packet # 显示当前使用的远程协议 `qXfer:siginfo:read' (read-siginfo-object) 数据包
show remote read-spu-object-packet -- Show current use of remote protocol `qXfer:spu:read'(read-spu-object) packet # 显示当前使用的远程协议 `qXfer:spu:read' (read-spu-object) 数据包
show remote read-watchpoint-packet -- Show current use of remote protocol `Z3' (read-watchpoint) packet # 显示远程协议“Z3”(读取观察点)数据包的当前使用
show remote reverse-continue-packet -- Show current use of remote protocol `bc' (reverse-continue) packet # 显示远程协议“bc”(反向继续)数据包的当前使用
show remote reverse-step-packet -- Show current use of remote protocol `bs'(reverse-step) packet # 显示远程协议“bs”(反向)数据包的当前使用
show remote run-packet -- Show current use of remote protocol `vRun' (run) packet # 显示远程协议“vRun”(运行)数据包的当前使用情况
show remote search-memory-packet -- Show current use of remote protocol `qSearch:memory' (search-memory) packet # 显示当前使用的远程协议 `qSearch:memory'(search-memory) 数据包
show remote set-register-packet -- Show current use of remote protocol `P' (set-register) packet # 显示远程协议“P”(设置寄存器)数据包的当前使用
show remote software-breakpoint-packet -- Show current use of remote protocol `Z0' (software-breakpoint) packet # 显示远程协议“Z0”(软件断点)数据包的当前使用
show remote static-tracepoints-packet -- Show current use of remote protocol `StaticTracepoints'(static-tracepoints) packet # 显示当前使用的远程协议 `StaticTracepoints' (static-tracepoints) 数据包
show remote supported-packets-packet -- Show current use of remote protocol `qSupported' (supported-packets) packet # 显示当前使用的远程协议 `qSupported' (supported-packets) 数据包
show remote swbreak-feature-packet -- Show current use of remote protocol `swbreak-feature'(swbreak-feature) packet # 显示当前使用远程协议 `swbreak-feature' (swbreak-feature) 数据包
show remote symbol-lookup-packet -- Show current use of remote protocol `qSymbol' (symbol-lookup) packet # 显示远程协议“qSymbol”(符号查找)数据包的当前使用
show remote system-call-allowed -- Show if the host system(3) call is allowed for the target # 显示目标是否允许主机系统调用
show remote target-features-packet -- Show current use of remote protocol `qXfer:features:read' (target-features) packet # 显示当前使用的远程协议 `qXfer:features:read'(target-features) 数据包
show remote thread-events-packet -- Show current use of remote protocol `QThreadEvents' (thread-events) packet # 显示远程协议“QThreadEvents”(线程事件)数据包的当前使用情况
show remote threads-packet -- Show current use of remote protocol `qXfer:threads:read' (threads) packet # 显示远程协议“qXfer:threads:read”(线程)数据包的当前使用
show remote trace-buffer-size-packet -- Show current use of remote protocol `QTBuffer:size'(trace-buffer-size) packet # 显示当前使用的远程协议 `QTBuffer:size' (trace-buffer-size) 数据包
show remote trace-status-packet -- Show current use of remote protocol `qTStatus' (trace-status) packet # 显示远程协议“qTStatus”(跟踪状态)数据包的当前使用情况
show remote traceframe-info-packet -- Show current use of remote protocol `qXfer:traceframe-info:read' (traceframe-info) packet # 显示当前使用的远程协议 `qXfer:traceframe-info:read'(traceframe-info) 数据包
show remote unwind-info-block-packet -- Show current use of remote protocol `qXfer:uib:read' (unwind-info-block) packet # 显示当前使用的远程协议 `qXfer:uib:read' (unwind-info-block) 数据包
show remote verbose-resume-packet -- Show current use of remote protocol `vCont'(verbose-resume) packet # 显示当前使用的远程协议 `vCont' (verbose-resume) 数据包
show remote verbose-resume-supported-packet -- Show current use of remote protocol `vContSupported' (verbose-resume-supported) packet # 显示远程协议“vContSupported”(支持详细恢复)数据包的当前使用
show remote vfork-event-feature-packet -- Show current use of remote protocol `vfork-event-feature' (vfork-event-feature) packet # 显示当前使用远程协议 `vfork-event-feature'(vfork-event-feature) 数据包
show remote write-siginfo-object-packet -- Show current use of remote protocol `qXfer:siginfo:write' (write-siginfo-object) packet # 显示当前使用的远程协议 `qXfer:siginfo:write' (write-siginfo-object) 数据包
show remote write-spu-object-packet -- Show current use of remote protocol `qXfer:spu:write'(write-spu-object) packet # 显示当前使用的远程协议 `qXfer:spu:write' (write-spu-object) 数据包
show remote write-watchpoint-packet -- Show current use of remote protocol `Z2' (write-watchpoint) packet # 显示远程协议“Z2”(写入观察点)数据包的当前使用情况
show remoteaddresssize -- Show the maximum size of the address (in bits) in a memory packet # 显示内存包中地址的最大大小(以位为单位)
show remotecache -- Show cache use for remote targets # 显示远程目标的缓存使用
show remoteflow -- Show use of hardware flow control for remote serial I/O # 展示对远程串行 I/O 的硬件流控制的使用
show remotelogbase -- Show numerical base for remote session logging # 显示远程会话记录的数字基数
show remotelogfile -- Show filename for remote session recording # 显示远程会话记录的文件名
show remotetimeout -- Show timeout limit to wait for target to respond # 显示超时限制以等待目标响应
show remotewritesize -- Show the maximum number of bytes per memory write packet (deprecated) # 显示每个内存写入数据包的最大字节数(不推荐)
show schedule-multiple -- Show mode for resuming threads of all processes # 显示恢复所有进程线程的模式
show scheduler-locking -- Show mode for locking scheduler during execution # 执行期间锁定调度程序的显示模式
show script-extension -- Show mode for script filename extension recognition # 脚本文件扩展名识别的显示模式
show serial -- Show default serial/parallel port configuration # 显示默认串行/并行端口配置
show serial baud -- Show baud rate for remote serial I/O # 显示远程串行 I/O 的波特率
show serial parity -- Show parity for remote serial I/O # 显示远程串行 I/O 的奇偶校验
show solib-absolute-prefix -- Show the current system root # 显示当前系统根目录
show solib-search-path -- Show the search path for loading non-absolute shared library symbol files # 显示加载非绝对共享库符号文件的搜索路径
show stack-cache -- Show cache use for stack access # 显示用于堆栈访问的缓存
show startup-with-shell -- Show use of shell to start subprocesses # 显示使用 shell 来启动子进程
show step-mode -- Show mode of the step operation # 步进操作的显示模式
show stop-on-solib-events -- Show stopping for shared library events # 显示共享库事件的停止
show struct-convention -- Show the convention for returning small structs # 显示返回小结构的约定
show substitute-path -- Usage: show substitute-path [FROM] # 用法:显示替代路径 [FROM]
show sysroot -- Show the current system root # 显示当前系统根目录
show target-charset -- Show the target character set # 显示目标字符集
show target-file-system-kind -- Show assumed file system kind for target reported file names # 显示目标报告文件名的假定文件系统类型
show target-wide-charset -- Show the target wide character set # 显示目标宽字符集
show tcp -- TCP protocol specific variables # TCP 协议特定变量
show tcp auto-retry -- Show auto-retry on socket connect # 在套接字连接上显示自动重试
show tcp connect-timeout -- Show timeout limit in seconds for socket connection # 以秒为单位显示套接字连接的超时限制
show tdesc -- Show target description specific variables # 显示目标描述特定变量
show tdesc filename -- Show the file to read for an XML target description # 显示要读取的文件以获取 XML 目标描述
show trace-buffer-size -- Show requested size of trace buffer # 显示请求的跟踪缓冲区大小
show trace-commands -- Show state of GDB CLI command tracing # 显示 GDB CLI 命令跟踪的状态
show trace-notes -- Show the notes string to use for current and future trace runs # 显示用于当前和未来跟踪运行的注释字符串
show trace-stop-notes -- Show the notes string to use for future tstop commands # 显示用于未来 tstop 命令的注释字符串
show trace-user -- Show the user name to use for current and future trace runs # 显示用于当前和未来跟踪运行的用户名
show trust-readonly-sections -- Show mode for reading from readonly sections # 从只读部分读取的显示模式
show tui -- TUI configuration variables # TUI 配置变量
show tui active-border-mode -- Show the attribute mode to use for the active TUI window border # 显示用于活动 TUI 窗口边框的属性模式
show tui border-kind -- Show the kind of border for TUI windows # 显示 TUI 窗口的边框类型
show tui border-mode -- Show the attribute mode to use for the TUI window borders # 显示用于 TUI 窗口边框的属性模式
show unwind-on-terminating-exception -- Show unwinding of stack if std::terminate() is called while in a call dummy # 如果 std::terminate() 在 call dummy 中被调用,则显示堆栈展开
show unwindonsignal -- Show unwinding of stack if a signal is received while in a call dummy # 如果在调用虚拟中接收到信号,则显示堆栈展开
show use-coredump-filter -- Show whether gcore should consider /proc/PID/coredump_filter # 显示 gcore 是否应该考虑 /proc/PID/coredump_filter
show use-deprecated-index-sections -- Show whether to use deprecated gdb_index sections # 显示是否使用已弃用的 gdb_index 部分
show user -- Show definitions of non-python/scheme user defined commands # 显示非 python/scheme 用户定义命令的定义
show values -- Elements of value history around item number IDX (or last ten) # 项目编号 IDX(或最后十个)周围的价值历史元素
show verbose -- Show verbosity # 显示详细程度
show version -- Show what version of GDB this is # 显示这是什么版本的 GDB
show warranty -- Various kinds of warranty you do not have # 您没有的各种warranty
show watchdog -- Show watchdog timer # 显示看门狗定时器
show width -- Show number of characters where GDB should wrap lines of its output # 显示 GDB 应在其输出中换行的字符数
show write -- Show writing into executable and core files # 显示写入可执行Command class: status(状态)
info -- Generic command for showing things about the program being debugged # 用于显示有关正在调试的程序的通用命令
info address -- Describe where symbol SYM is stored # 描述符号 SYM 的存储位置
info all-registers -- List of all registers and their contents # 所有寄存器列表及其内容
info args -- Argument variables of current stack frame # 当前堆栈帧的参数变量
info auto-load -- Print current status of auto-loaded files # 打印自动加载文件的当前状态
info auto-load gdb-scripts -- Print the list of automatically loaded sequences of commands # 打印自动加载的命令序列列表
info auto-load libthread-db -- Print the list of loaded inferior specific libthread_db # 打印加载的inferior特定 libthread_db 列表
info auto-load local-gdbinit -- Print whether current directory .gdbinit file has been loaded # 打印当前目录.gdbinit文件是否已经加载
info auto-load python-scripts -- Print the list of automatically loaded Python scripts # 打印自动加载的 Python 脚本列表
info auxv -- Display the inferior's auxiliary vector # 显示下级的辅助向量
info bookmarks -- Status of user-settable bookmarks
info breakpoints -- Status of specified breakpoints (all user-settable breakpoints if no argument)# 指定断点的状态(如果没有参数,则为所有用户可设置的断点)
info checkpoints -- IDs of currently known checkpoints # 当前已知检查点的 ID
info classes -- All Objective-C classes # 所有 Objective-C 类
info common -- Print out the values contained in a Fortran COMMON block # 打印出 Fortran COMMON 块中包含的值
info copying -- Conditions for redistributing copies of GDB # 重新分发 GDB 副本的条件
info dcache -- Print information on the dcache performance # 打印有关 dcache 性能的信息
info display -- Expressions to display when program stops # 程序停止时显示的表达式
info exceptions -- List all Ada exception names # 列出所有 Ada 异常名称
info extensions -- All filename extensions associated with a source language # 与源语言关联的所有文件扩展名
info files -- Names of targets and files being debugged # 正在调试的目标和文件的名称
info float -- Print the status of the floating point unit # 打印浮点单元的状态
info frame -- All about selected stack frame # 所有关于选定的堆栈帧
info frame-filter -- List all registered Python frame-filters # 列出所有已注册的 Python 帧过滤器
info functions -- All function names # 所有函数名称
info guile -- Prefix commandfor Guile info displays # Guile 信息显示的前缀命令
info handle -- What debugger does when program gets various signals # 当程序收到各种信号时调试器会做什么
info inferiors -- IDs of specified inferiors (all inferiors if no argument)# 指定下级的 ID(如果没有参数,则为所有下级)
info line -- Core addresses of the code for a source line # 源代码行的核心地址
info locals -- Local variables of current stack frame # 当前栈帧的局部变量
info macro -- Show the definition of MACRO # 显示 MACRO 的定义
info macros -- Show the definitions of all macros at LINESPEC # 在 LINESPEC 显示所有宏的定义
info mem -- Memory region attributes # Memory region attributes
info os -- Show OS data ARG # Show OS data ARG
info pretty-printer -- GDB command to list all registered pretty-printers # GDB 命令列出所有已注册的漂亮打印机
info probes -- Show available static probes # 显示可用的静态探针
info probes all -- Show information about all type of probes # 显示有关所有类型探头的信息
info probes dtrace -- Show information about DTrace static probes # 显示有关 DTrace 静态探针的信息
info probes stap -- Show information about SystemTap static probes # 显示有关 SystemTap 静态探针的信息
info proc -- Show /proc process information about any running process # 显示有关任何正在运行的进程的 /proc 进程信息
info proc all -- List all available /proc info # 列出所有可用的 /proc 信息
info proc cmdline -- List command line arguments of the process # 列出进程的命令行参数
info proc cwd -- List current working directory of the process # 列出进程的当前工作目录
info proc exe -- List absolute filename for executable of the process # 列出进程可执行文件的绝对文件名
info proc mappings -- List of mapped memory regions # 映射内存区域列表
info proc stat -- List process info from /proc/PID/stat # 列出来自 /proc/PID/stat 的进程信息
info proc status -- List process info from /proc/PID/status # 从 /proc/PID/status 列出进程信息
info program -- Execution status of the program # 程序执行状态
info record -- Info record options # 信息记录选项
info registers -- List of integer registers and their contents # 整数寄存器列表及其内容
info scope -- List the variables local to a scope # 列出作用域的局部变量
info selectors -- All Objective-C selectors # 所有 Objective-C 选择器
info set -- Show all GDB settings # 显示所有 GDB 设置
info sharedlibrary -- Status of loaded shared object libraries # 加载的共享对象库的状态
info signals -- What debugger does when program gets various signals # 当程序收到各种信号时调试器会做什么
info skip -- Display the status of skips # 显示跳过的状态
info source -- Information about the current sourcefile# 当前源文件的信息
info sources -- Source files in the program # 程序中的源文件
info stack -- Backtrace of the stack # 堆栈的回溯
info static-tracepoint-markers -- List target static tracepoints markers # 列出目标静态跟踪点标记
info symbol -- Describe what symbol is at location ADDR # 描述地址 ADDRESS 的符号是什么
info target -- Names of targets and files being debugged # 正在调试的目标和文件的名称
info tasks -- Provide information about all known Ada tasks # 提供有关所有已知 Ada 任务的信息
info terminal -- Print inferior's saved terminal status # 打印inferior保存的终端状态
info threads -- Display currently known threads # 显示当前已知线程
info tracepoints -- Status of specified tracepoints (all tracepoints if no argument)# 指定跟踪点的状态(如果没有参数,则为所有跟踪点)
info tvariables -- Status of trace state variables and their values # 跟踪状态变量的状态及其值
info type-printers -- GDB command to list all registered type-printers # GDB 命令列出所有已注册的打字机
info types -- All type names # 所有类型名称
info unwinder -- GDB command to list unwinders # 列出展开器的 GDB 命令
info variables -- All global and static variable names # 所有全局和静态变量名
info vector -- Print the status of the vector unit # 打印向量单元的状态
info vtbl -- Show the virtual function table for a C++ object # 显示 C++ 对象的虚函数表
info warranty -- Various kinds of warranty you do not have # 您没有的各种warranty
info watchpoints -- Status of specified watchpoints (all watchpoints if no argument)# 指定观察点的状态(如果没有参数,则为所有观察点)
info win -- List of all displayed windows # 所有显示窗口的列表
info xmethod -- GDB command to list registered xmethod matchers # GDB 命令列出已注册的 xmethod 匹配器
macro -- Prefix for commands dealing with C preprocessor macros # 处理 C 预处理器宏的命令的前缀
macro define -- Define a new C/C++ preprocessor macro # 定义一个新的 C/C++ 预处理器宏
macro expand -- Fully expand any C/C++ preprocessor macro invocations in EXPRESSION # 完全扩展 EXPRESSION 中的任何 C/C++ 预处理器宏调用
macro expand-once -- Expand C/C++ preprocessor macro invocations appearing directly in EXPRESSION # 展开直接出现在 EXPRESSION 中的 C/C++ 预处理器宏调用
macro list -- List all the macros defined using the `macro define' command # 列出使用“宏定义”命令定义的所有宏
macro undef -- Remove the definition of the C/C++ preprocessor macro with the given name # 删除具有给定名称的 C/C++ 预处理器宏的定义
show -- Generic command for showing things about the debugger # 用于显示有关调试器的通用命令
show ada -- Generic command for showing Ada-specific settings # 用于显示 Ada 特定设置的通用命令
show ada print-signatures -- Show whether the output of formal and return types for functions in the overloads selection menu is activated # 显示重载选择菜单中函数的形式和返回类型的输出是否被激活
show ada trust-PAD-over-XVS -- Show whether an optimization trusting PAD types over XVS types is activated # 显示是否激活了优化信任 PAD 类型而不是 XVS 类型
show agent -- Show debugger's willingness to use agent as a helper # 显示调试器愿意使用代理作为助手
show annotate -- Show annotation_level # 显示 annotation_level
show architecture -- Show architecture of target # 显示目标架构
show args -- Show argument list to give program being debugged when it is started # 显示参数列表以在程序启动时提供正在调试的程序
show auto-connect-native-target -- Show whether GDB may automatically connect to the native target # 显示 GDB 是否可以自动连接到本机目标
show auto-load -- Show auto-loading specific settings # 显示自动加载特定设置
show auto-load gdb-scripts -- Show whether auto-loading of canned sequences of commands scripts is enabled # 显示是否启用了自动加载预设的命令脚本序列
show auto-load libthread-db -- Show whether auto-loading inferior specific libthread_db is enabled # 显示是否启用了自动加载劣质特定 libthread_db
show auto-load local-gdbinit -- Show whether auto-loading .gdbinit script in current directory is enabled # 显示是否启用在当前目录中自动加载 .gdbinit 脚本
show auto-load python-scripts -- Show the debugger's behaviour regarding auto-loaded Python scripts # 显示调试器关于自动加载的 Python 脚本的行为
show auto-load safe-path -- Show the list of files and directories that are safe for auto-loading # 显示可安全自动加载的文件和目录列表
show auto-load scripts-directory -- Show the list of directories from which to load auto-loaded scripts # 显示要从中加载自动加载脚本的目录列表
show auto-solib-add -- Show autoloading of shared library symbols # 显示共享库符号的自动加载
show backtrace -- Show backtrace specific variables # 显示回溯特定变量
show backtrace limit -- Show the upper bound on the number of backtrace levels # 显示回溯级别数的上限
show backtrace past-entry -- Show whether backtraces should continue past the entry point of a program # 显示回溯是否应该继续超过程序的入口点
show backtrace past-main -- Show whether backtraces should continue past "main" # 显示回溯是否应该继续超过“main”
show basenames-may-differ -- Show whether a source file may have multiple base names # 显示一个源文件是否可以有多个基本名称
show breakpoint -- Breakpoint specific settings # 断点特定设置
show breakpoint always-inserted -- Show mode for inserting breakpoints # 插入断点的显示模式
show breakpoint auto-hw -- Show automatic usage of hardware breakpoints # 显示硬件断点的自动使用
show breakpoint condition-evaluation -- Show mode of breakpoint condition evaluation # 断点条件评估的显示模式
show breakpoint pending -- Show debugger's behavior regarding pending breakpoints # 显示调试器关于挂起断点的行为
show can-use-hw-watchpoints -- Show debugger's willingness to use watchpoint hardware # 显示调试器愿意使用观察点硬件
show case-sensitive -- Show case sensitivity in name search # 在名称搜索中显示区分大小写
show charset -- Show the host and target character sets # 显示主机和目标字符集
show check -- Show the status of the type/range checker # 显示类型/范围检查器的状态
show check range -- Show range checking # 显示范围检查
show check type -- Show strict type checking # 显示严格的类型检查
show circular-trace-buffer -- Show target's use of circular trace buffer # 显示目标对循环跟踪缓冲区的使用
show code-cache -- Show cache use for code segment access # 显示用于代码段访问的缓存
show coerce-float-to-double -- Show coercion of floats to doubles when calling functions # 调用函数时将浮点数强制转换为双精度数
show commands -- Show the history of commands you typed # 显示您键入的命令的历史记录
show compile-args -- Show compile command GCC command-line arguments # 显示编译命令 GCC 命令行参数
show complaints -- Show max number of complaints about incorrect symbols # 显示有关错误符号的最大报错数量
show configuration -- Show how GDB was configured at build time# 展示如何在构建时配置 GDB
show confirm -- Show whether to confirm potentially dangerous operations # 显示是否确认有潜在危险的操作
show convenience -- Debugger convenience ("$foo") variables and functions # 调试器便利 ("$foo") 变量和函数
show copying -- Conditions for redistributing copies of GDB # 重新分发 GDB 副本的条件
show cp-abi -- Show the ABI used for inspecting C++ objects # 显示用于检查 C++ 对象的 ABI
show data-directory -- Show GDB's data directory # 显示 GDB 的数据目录
show dcache -- Show dcachesettings # 显示 dcachesettings
show dcache line-size -- Show dcache line size # 显示 dcache 行大小
show dcache size -- Show number of dcache lines # 显示 dcache 行数
show debug -- Generic command for showing gdb debugging flags # 用于显示 gdb 调试标志的通用命令
show debug arch -- Show architecture debugging # 显示架构调试
show debug auto-load -- Show auto-load verifications debugging # 显示自动加载验证调试
show debug bfd-cache -- Show bfd cache debugging # 显示 bfd 缓存调试
show debug check-physname -- Show cross-checking of "physname" code against demangler # 显示对 demangler 的“physname”代码的交叉检查
show debug coff-pe-read -- Show coff PE read debugging # 显示 coff PE 读取调试
show debug compile -- Show compile command debugging # 显示编译命令调试
show debug displaced -- Show displaced stepping debugging # 显示位移步进调试
show debug dwarf-die -- Show debugging of the DWARF DIE reader # 显示 DWARF DIE 阅读器的调试
show debug dwarf-line -- Show debugging of the dwarf line reader # 显示dwarf行阅读器的调试
show debug dwarf-read -- Show debugging of the DWARF reader # 显示 DWARF 阅读器的调试
show debug entry-values -- Show entry values and tail call frames debugging # 显示入口值和尾调用帧调试
show debug expression -- Show expression debugging #显示表达式调试
show debug frame -- Show frame debugging # 显示帧调试
show debug infrun -- Show inferior debugging # 显示inferior调试
show debug jit -- Show JIT debugging # 显示 JIT 调试
show debug libthread-db -- Show libthread-db debugging # 显示 libthread-db 调试
show debug lin-lwp -- Show debugging of GNU/Linux lwp module # 显示 GNU/Linux lwp 模块的调试
show debug linux-namespaces -- Show debugging of GNU/Linux namespaces module # 显示 GNU/Linux 命名空间模块的调试
show debug notification -- Show debugging of async remote notification # 显示异步远程通知的调试
show debug observer -- Show observer debugging # 显示观察者调试
show debug overload -- Show debugging of C++ overloading # 显示 C++ 重载的调试
show debug parser -- Show parser debugging # 显示解析器调试
show debug py-unwind -- Show Python unwinder debugging # 显示 Python 展开器调试
show debug record -- Show debugging of record/replay feature # 显示记录/回放功能的调试
show debug remote -- Show debugging of remote protocol # 显示远程协议的调试
show debug serial -- Show serial debugging # 显示串口调试
show debug stap-expression -- Show SystemTap expression debugging # 显示 SystemTap 表达式调试
show debug symbol-lookup -- Show debugging of symbol lookup # 显示符号查找的调试
show debug symfile -- Show debugging of the symfile functions # 显示符号文件功能的调试
show debug symtab-create -- Show debugging of symbol table creation # 显示符号表创建的调试
show debug target -- Show target debugging # 显示目标调试
show debug timestamp -- Show timestamping of debugging messages # 显示调试消息的时间戳
show debug varobj -- Show varobj debugging # 显示 varobj 调试
show debug xml -- Show XML parser debugging # 显示 XML 解析器调试
show debug-file-directory -- Show the directories where separate debug symbols are searched for # 显示搜索单独调试符号的目录
show default-collect -- Show the list of expressions to collect by default # 显示默认收集的表达式列表
show demangle-style -- Show the current C++ demangling style # 显示当前的 C++ 拆解样式
show detach-on-fork -- Show whether gdb will detach the child of a fork # 显示 gdb 是否会分离 fork 的子代
show directories -- Show the search path for finding source files # 显示查找源文件的搜索路径
show disable-randomization -- Show disabling of debuggee's virtual address space randomization # 显示禁用被调试对象的虚拟地址空间随机化
show disassemble-next-line -- Show whether to disassemble next source line or insn when execution stops # 显示执行停止时是否反汇编下一个源代码行或 insn
show disassembly-flavor -- Show the disassembly flavor # 展现拆解 flavor
show disconnected-dprintf -- Show whether dprintf continues after GDB disconnects # 显示 GDB 断开连接后 dprintf 是否继续
show disconnected-tracing -- Show whether tracing continues after GDB disconnects # 显示 GDB 断开连接后是否继续跟踪
show displaced-stepping -- Show debugger's willingness to use displaced stepping # 显示调试器愿意使用位移步进
show dprintf-channel -- Show the channel to use for dynamic printf # 显示用于动态 printf 的通道
show dprintf-function -- Show the function to use for dynamic printf # 显示用于动态 printf 的函数
show dprintf-style -- Show the style of usage for dynamic printf # 显示动态 printf 的使用风格
show editing -- Show editing of command lines as they are typed # 在键入时显示对命令行的编辑
show endian -- Show endianness of target # 显示目标的字节顺序
show environment -- The environment to give the program # 给程序的环境
show exec-direction -- Show direction of execution (forward/reverse) # 显示执行方向(正向/反向)
show exec-done-display -- Show notification of completion for asynchronous execution commands # 显示异步执行命令的完成通知
show exec-wrapper -- Show the wrapper for running programs # 显示运行程序的包装器
show extended-prompt -- Show the extended prompt # Show the extended prompt
show extension-language -- Show mapping between filename extension and source language # 显示文件扩展名和源语言之间的映射
show filename-display -- Show how to display filenames # 显示如何显示文件名
show follow-exec-mode -- Show debugger response to a program call of exec # 显示调试器对 exec 程序调用的响应
show follow-fork-mode -- Show debugger response to a program call of fork or vfork # 显示调试器对 fork 或 vfork 程序调用的响应
show frame-filter -- Prefix command for 'show' frame-filter related operations # 'show' 帧过滤器相关操作的前缀命令
show frame-filter priority -- GDB command to show the priority of the specified frame-filter # GDB 命令显示指定帧过滤器的优先级
show gnutarget -- Show the current BFD target # 显示当前 BFD 目标
show guile -- Prefix command for Guile preference settings # Guile 首选项设置的前缀命令
show guile print-stack -- Show the mode of Guile exception printing on error # 错误时显示 Guile 异常打印模式
show height -- Show number of lines in a page for GDB output pagination # 显示 GDB 输出分页的页面中的行数
show history -- Generic command for showing command history parameters # 用于显示命令历史参数的通用命令
show history expansion -- Show history expansion on command input # 在命令输入上显示历史扩展
show history filename -- Show the filename in which to record the command history # 显示记录命令历史的文件名
show history remove-duplicates -- Show how far back in history to look for and remove duplicate entries # 显示查找和删除重复条目的历史记录
show history save -- Show saving of the history record on exit # 退出时显示历史记录的保存
show history size -- Show the size of the command history # 显示命令历史的大小
show host-charset -- Show the host character set # 显示主机字符集
show inferior-tty -- Show terminal for future runs of program being debugged # 显示终端以供将来运行正在调试的程序
show input-radix -- Show default input radix for entering numbers # 显示输入数字的默认输入基数
show interactive-mode -- Show whether GDB's standard input is a terminal # 显示 GDB 的标准输入是否是终端
show language -- Show the current source language # 显示当前源语言
show libthread-db-search-path -- Show the current search path or libthread_db # 显示当前搜索路径或 libthread_db
show listsize -- Show number of source lines gdb will list by default # 显示 gdb 默认列出的源代码行数
show logging -- Show logging options # 显示日志记录选项
show logging file -- Show the current logfile # 显示当前日志文件
show logging overwrite -- Show whether logging overwrites or appends to the log file# 显示日志记录是覆盖还是附加到日志文件
show logging redirect -- Show the logging output mode # 显示日志输出模式
show max-completions -- Show maximum number of completion candidates # 显示完成候选的最大数量
show max-user-call-depth -- Show the max call depth for non-python/scheme user-defined commands # 显示非 python/scheme 用户定义命令的最大调用深度
show max-value-size -- Show maximum sized value gdb will load from the inferior # 显示 gdb 将从下级加载的最大大小值
show may-insert-breakpoints -- Show permission to insert breakpoints in the target # 显示在目标中插入断点的权限
show may-insert-fast-tracepoints -- Show permission to insert fast tracepoints in the target # 显示在目标中插入快速跟踪点的权限
show may-insert-tracepoints -- Show permission to insert tracepoints in the target # 显示在目标中插入跟踪点的权限
show may-interrupt -- Show permission to interrupt or signal the target # 显示允许打断或向目标发出信号
show may-write-memory -- Show permission to write into target memory # 显示写入目标内存的权限
show may-write-registers -- Show permission to write into registers # 显示写入寄存器的权限
show mem -- Memory regions settings # 内存区域设置
show mem inaccessible-by-default -- Show handling of unknown memory regions # 显示未知内存区域的处理
show mi-async -- Show whether MI asynchronous mode is enabled # 显示是否开启 MI 异步模式
show mpx -- Show Intel Memory Protection Extensions specific variables # 显示英特尔内存保护扩展特定变量
show mpx bound -- Show the memory bounds for a given array/pointer storage in the bound table # 在绑定表中显示给定数组/指针存储的内存边界
show multiple-symbols -- Show how the debugger handles ambiguities in expressions # 显示调试器如何处理表达式中的歧义
show non-stop -- Show whether gdb controls the inferior in non-stop mode # 显示gdb是否在不间断模式下控制inferior
show observer -- Show whether gdb controls the inferior in observer mode # 显示gdb是否在观察者模式下控制inferior
show opaque-type-resolution -- Show resolution of opaque struct/class/union types (if set before loading symbols)# 显示不透明结构/类/联合类型的分辨率(如果在加载符号之前设置)
show osabi -- Show OS ABI of target # 显示目标的 OS ABI
show output-radix -- Show default output radix for printing of values # 显示用于打印值的默认输出基数
show overload-resolution -- Show overload resolution in evaluating C++ functions # 在评估 C++ 函数时显示重载决议
show pagination -- Show state of GDB output pagination # 显示 GDB 输出分页状态
show paths -- Current search path for finding object files # 查找目标文件的当前搜索路径
show print -- Generic commandfor showing print settings # 用于显示打印设置的通用命令
show print address -- Show printing of addresses # 显示地址打印
show print array -- Show pretty formatting of arrays # 显示漂亮的数组格式
show print array-indexes -- Show printing of array indexes # 显示数组索引的打印
show print asm-demangle -- Show demangling of C++/ObjC names in disassembly listings # 在反汇编列表中显示 C++/ObjC 名称的拆解
show print demangle -- Show demangling of encoded C++/ObjC names when displaying symbols # 显示符号时显示编码的 C++/ObjC 名称的解构
show print elements -- Show limit on string chars or array elements to print # 显示要打印的字符串字符或数组元素的限制
show print entry-values -- Show printing of function arguments at function entry # 在函数入口处显示函数参数的打印
show print frame-arguments -- Show printing of non-scalar frame arguments # 显示非标量框架参数的打印
show print inferior-events -- Show printing of inferior events (e.g. # 显示打印inferior事件
show print max-symbolic-offset -- Show the largest offset that will be printed in<symbol+1234> form # 显示将以 <symbol+1234> 形式打印的最大偏移量
show print null-stop -- Show printing of char arrays to stop at first null char # 显示 char 数组的打印以在第一个 null char 处停止
show print object -- Show printing of object's derived type based on vtable info # 根据 vtable 信息显示对象派生类型的打印
show print pascal_static-members -- Show printing of pascal static members # 显示 pascal 静态成员的打印
show print pretty -- Show pretty formatting of structures # 显示结构的漂亮格式
show print raw -- Generic command for showing "print raw" settings # 用于显示“print raw”设置的通用命令
show print raw frame-arguments -- Show whether to print frame arguments in raw form # 显示是否以原始格式打印框架参数
show print repeats -- Show threshold for repeated print elements # 显示重复打印元素的阈值
show print sevenbit-strings -- Show printing of 8-bit characters in strings as \nnn # 将字符串中 8 位字符的打印显示为 \nnn
show print static-members -- Show printing of C++ static members # 显示 C++ 静态成员的打印
show print symbol -- Show printing of symbol names when printing pointers # 打印指针时显示符号名称的打印
show print symbol-filename -- Show printing of source filename and line number with <symbol> # 使用 <symbol> 显示源文件名和行号的打印
show print symbol-loading -- Show printing of symbol loading messages # 显示符号加载消息的打印
show print thread-events -- Show printing of thread events (such as thread start and exit) # 显示线程事件的打印(例如线程启动和退出)
show print type -- Generic command for showing type-printing settings # 用于显示类型打印设置的通用命令
show print type methods -- Show printing of methods defined in classes # 显示类中定义的方法的打印
show print type typedefs -- Show printing of typedefs defined in classes # 显示类中定义的 typedef 的打印
show print union -- Show printing of unions interior to structures # 显示结构内部的联合打印
show print vtbl -- Show printing of C++ virtual function tables # 显示 C++ 虚函数表的打印
show prompt -- Show gdb's prompt # 显示 gdb 的提示
show python -- Prefix commandfor python preference settings # python首选项设置的前缀命令
show python print-stack -- Show the mode of Python stack printing on error # 显示错误时 Python 堆栈打印的模式
show radix -- Show the default input and output number radices # 显示默认输入和输出数基数
show range-stepping -- Show whether target-assisted range stepping is enabled # 显示是否启用了目标辅助范围步进
show record -- Show record options # 显示记录选项
show record btrace -- Show record options # 显示记录选项
show record btrace bts -- Show record btrace bts options # 显示记录 btrace bts 选项
show record btrace bts buffer-size -- Show the record/replay bts buffer size # 显示记录/重播 bts 缓冲区大小
show record btrace pt -- Show record btrace pt options # 显示记录 btrace pt 选项
show record btrace pt buffer-size -- Show the record/replay pt buffer size # 显示记录/重播 pt 缓冲区大小
show record btrace replay-memory-access -- Show what memory accesses are allowed during replay # 显示重放期间允许的内存访问
show record full -- Show record options # 显示记录选项
show record full insn-number-max -- Show record/replay buffer limit # 显示记录/重播缓冲区限制
show record full memory-query -- Show whether query if PREC cannot record memory change of next instruction # 显示是否查询PREC是否无法记录下一条指令的内存变化
show record full stop-at-limit -- Show whether record/replay stops when record/replay buffer becomes full # 显示当记录/重放缓冲区满时记录/重放是否停止
show record function-call-history-size -- Show number of functions to print in"record function-call-history"# 在“记录函数调用历史”中显示要打印的函数数
show record instruction-history-size -- Show number of instructions to print in"record instruction-history"# 在“记录指令历史”中显示要打印的指令数
show remote -- Remote protocol specific variables # 远程协议特定变量
show remote P-packet -- Show current use of remote protocol `P' (set-register) packet # 显示远程协议“P”(设置寄存器)数据包的当前使用
show remote TracepointSource-packet -- Show current use of remote protocol `TracepointSource' (TracepointSource) packet # 显示当前使用的远程协议 `TracepointSource'(TracepointSource) 数据包
show remote X-packet -- Show current use of remote protocol `X' (binary-download) packet # 显示当前使用的远程协议“X”(二进制下载)数据包
show remote Z-packet -- Show use of remote protocol `Z' packets # 显示远程协议“Z”数据包的使用
show remote access-watchpoint-packet -- Show current use of remote protocol `Z4'(access-watchpoint) packet # 显示远程协议“Z4”(访问观察点)数据包的当前使用情况
show remote agent-packet -- Show current use of remote protocol `QAgent' (agent) packet # 显示当前使用的远程协议 "QAgent"(代理)数据包
show remote allow-packet -- Show current use of remote protocol `QAllow' (allow) packet # 显示当前使用远程协议“QAlow”(允许)数据包
show remote attach-packet -- Show current use of remote protocol `vAttach'(attach) packet # 显示当前使用的远程协议 "vAttach" (attach) 数据包
show remote binary-download-packet -- Show current use of remote protocol `X' (binary-download) packet # 显示当前使用的远程协议“X”(二进制下载)数据包
show remote breakpoint-commands-packet -- Show current use of remote protocol `BreakpointCommands' (breakpoint-commands) packet # 显示当前使用的远程协议 `BreakpointCommands'(breakpoint-commands) 数据包
show remote btrace-conf-bts-size-packet -- Show current use of remote protocol `Qbtrace-conf:bts:size' (btrace-conf-bts-size) packet # 显示当前使用的远程协议 `Qbtrace-conf:bts:size' (btrace-conf-bts-size) 数据包
show remote btrace-conf-pt-size-packet -- Show current use of remote protocol `Qbtrace-conf:pt:size'(btrace-conf-pt-size) packet # 显示当前使用的远程协议 `Qbtrace-conf:pt:size' (btrace-conf-pt-size) 数据包
show remote catch-syscalls-packet -- Show current use of remote protocol `QCatchSyscalls' (catch-syscalls) packet # 显示当前使用的远程协议 `QCatchSyscalls' (catch-syscalls) 数据包
show remote conditional-breakpoints-packet -- Show current use of remote protocol `ConditionalBreakpoints'(conditional-breakpoints) packet # 显示当前使用远程协议`Conditional Breakpoints'(条件断点)数据包
show remote conditional-tracepoints-packet -- Show current use of remote protocol `ConditionalTracepoints' (conditional-tracepoints) packet # 显示当前使用的远程协议 `ConditionalTracepoints' (conditional-tracepoints) 数据包
show remote ctrl-c-packet -- Show current use of remote protocol `vCtrlC'(ctrl-c) packet # 显示当前使用的远程协议 `vCtrlC' (ctrl-c) 数据包
show remote disable-btrace-packet -- Show current use of remote protocol `Qbtrace:off' (disable-btrace) packet # 显示当前使用的远程协议 `Qbtrace:off' (disable-btrace) 数据包
show remote disable-randomization-packet -- Show current use of remote protocol `QDisableRandomization'(disable-randomization) packet # 显示当前使用的远程协议 `QDisableRandomization' (disable-randomization) 数据包
show remote enable-btrace-bts-packet -- Show current use of remote protocol `Qbtrace:bts' (enable-btrace-bts) packet # 显示当前使用的远程协议 `Qbtrace:bts' (enable-btrace-bts) 数据包
show remote enable-btrace-pt-packet -- Show current use of remote protocol `Qbtrace:pt'(enable-btrace-pt) packet # 显示当前使用的远程协议 `Qbtrace:pt' (enable-btrace-pt) 数据包
show remote exec-event-feature-packet -- Show current use of remote protocol `exec-event-feature' (exec-event-feature) packet # 显示当前使用的远程协议 `exec-event-feature' (exec-event-feature) 数据包
show remote exec-file -- Show the remote pathname for "run" # 显示“run”的远程路径名
show remote fast-tracepoints-packet -- Show current use of remote protocol `FastTracepoints'(fast-tracepoints) packet # 显示当前使用的远程协议 `FastTracepoints' (fast-tracepoints) 数据包
show remote fetch-register-packet -- Show current use of remote protocol `p' (fetch-register) packet # 显示远程协议“p”(获取寄存器)数据包的当前使用
show remote fork-event-feature-packet -- Show current use of remote protocol `fork-event-feature' (fork-event-feature) packet # 显示当前使用远程协议 `fork-event-feature'(fork-event-feature) 数据包
show remote get-thread-information-block-address-packet -- Show current use of remote protocol `qGetTIBAddr' (get-thread-information-block-address) packet # 显示当前使用的远程协议 `qGetTIBAddr' (get-thread-information-block-address) 数据包
show remote get-thread-local-storage-address-packet -- Show current use of remote protocol `qGetTLSAddr'(get-thread-local-storage-address) packet # 显示当前使用的远程协议 `qGetTLSAddr' (get-thread-local-storage-address) 数据包
show remote hardware-breakpoint-limit -- Show the maximum number of target hardware breakpoints # 显示目标硬件断点的最大数量
show remote hardware-breakpoint-packet -- Show current use of remote protocol `Z1' (hardware-breakpoint) packet # 显示远程协议“Z1”(硬件断点)数据包的当前使用
show remote hardware-watchpoint-length-limit -- Show the maximum length (in bytes) of a target hardware watchpoint # 显示目标硬件观察点的最大长度(以字节为单位)
show remote hardware-watchpoint-limit -- Show the maximum number of target hardware watchpoints # 显示目标硬件观察点的最大数量
show remote hostio-close-packet -- Show current use of remote protocol `vFile:close' (hostio-close) packet # 显示当前使用的远程协议 `vFile:close'(hostio-close) 数据包
show remote hostio-fstat-packet -- Show current use of remote protocol `vFile:fstat' (hostio-fstat) packet # 显示当前使用的远程协议 `vFile:fstat' (hostio-fstat) 数据包
show remote hostio-open-packet -- Show current use of remote protocol `vFile:open'(hostio-open) packet # 显示当前使用的远程协议 `vFile:open' (hostio-open) 数据包
show remote hostio-pread-packet -- Show current use of remote protocol `vFile:pread' (hostio-pread) packet # 显示当前使用的远程协议 `vFile:pread' (hostio-pread) 数据包
show remote hostio-pwrite-packet -- Show current use of remote protocol `vFile:pwrite'(hostio-pwrite) packet # 显示当前使用的远程协议 `vFile:pwrite' (hostio-pwrite) 数据包
show remote hostio-readlink-packet -- Show current use of remote protocol `vFile:readlink' (hostio-readlink) packet # 显示当前使用的远程协议 `vFile:readlink' (hostio-readlink) 数据包
show remote hostio-setfs-packet -- Show current use of remote protocol `vFile:setfs'(hostio-setfs) packet # 显示当前使用的远程协议 `vFile:setfs' (hostio-setfs) 数据包
show remote hostio-unlink-packet -- Show current use of remote protocol `vFile:unlink' (hostio-unlink) packet # 显示当前使用的远程协议 `vFile:unlink' (hostio-unlink) 数据包
show remote hwbreak-feature-packet -- Show current use of remote protocol `hwbreak-feature'(hwbreak-feature) packet # 显示当前使用的远程协议 `hwbreak-feature' (hwbreak-feature) 数据包
show remote install-in-trace-packet -- Show current use of remote protocol `InstallInTrace' (install-in-trace) packet # 显示远程协议“InstallInTrace”(安装跟踪)数据包的当前使用
show remote interrupt-on-connect -- Show whether interrupt-sequence is sent to remote target when gdb connects to # 显示当 gdb 连接到时是否将中断序列发送到远程目标
show remote interrupt-sequence -- Show interrupt sequence to remote target # 显示远程目标的中断序列
show remote kill-packet -- Show current use of remote protocol `vKill' (kill) packet # 显示当前使用的远程协议 `vKill'(kill) 数据包
show remote library-info-packet -- Show current use of remote protocol `qXfer:libraries:read' (library-info) packet # 显示当前使用的远程协议 `qXfer:libraries:read' (library-info) 数据包
show remote library-info-svr4-packet -- Show current use of remote protocol `qXfer:libraries-svr4:read'(library-info-svr4) packet # 显示当前使用的远程协议 `qXfer:libraries-svr4:read' (library-info-svr4) 数据包
show remote memory-map-packet -- Show current use of remote protocol `qXfer:memory-map:read' (memory-map) packet # 显示当前使用的远程协议 `qXfer:memory-map:read' (memory-map) 数据包
show remote memory-read-packet-size -- Show the maximum number of bytes per memory-read packet # 显示每个内存读取数据包的最大字节数
show remote memory-write-packet-size -- Show the maximum number of bytes per memory-write packet # 显示每个内存写入数据包的最大字节数
show remote multiprocess-feature-packet -- Show current use of remote protocol `multiprocess-feature'(multiprocess-feature) packet # 显示当前使用的远程协议 `multiprocess-feature' (multiprocess-feature) 数据包
show remote no-resumed-stop-reply-packet -- Show current use of remote protocol `N stop reply' (no-resumed-stop-reply) packet # 显示当前使用的远程协议 `N stop reply' (no-resumed-stop-reply) 数据包
show remote noack-packet -- Show current use of remote protocol `QStartNoAckMode'(noack) packet # 显示当前使用的远程协议 `QStartNoAckMode' (noack) 数据包
show remote osdata-packet -- Show current use of remote protocol `qXfer:osdata:read' (osdata) packet # 显示当前使用的远程协议 `qXfer:osdata:read' (osdata) 数据包
show remote p-packet -- Show current use of remote protocol `p'(fetch-register) packet # 显示远程协议“p”(获取寄存器)数据包的当前使用
show remote pass-signals-packet -- Show current use of remote protocol `QPassSignals' (pass-signals) packet # 显示远程协议“QPassSignals”(传递信号)数据包的当前使用
show remote pid-to-exec-file-packet -- Show current use of remote protocol `qXfer:exec-file:read' (pid-to-exec-file) packet # 显示远程协议 `qXfer:exec-file:read'(pid-to-exec-file) 数据包的当前使用
show remote program-signals-packet -- Show current use of remote protocol `QProgramSignals' (program-signals) packet # 显示当前使用的远程协议“QProgramSignals”(程序信号)数据包
show remote query-attached-packet -- Show current use of remote protocol `qAttached' (query-attached) packet # 显示远程协议“qAttached”(附加查询)数据包的当前使用
show remote read-aux-vector-packet -- Show current use of remote protocol `qXfer:auxv:read'(read-aux-vector) packet # 显示当前使用的远程协议 `qXfer:auxv:read' (read-aux-vector) 数据包
show remote read-btrace-conf-packet -- Show current use of remote protocol `qXfer:btrace-conf' (read-btrace-conf) packet # 显示当前使用的远程协议 `qXfer:btrace-conf' (read-btrace-conf) 数据包
show remote read-btrace-packet -- Show current use of remote protocol `qXfer:btrace'(read-btrace) packet # 显示当前使用的远程协议 `qXfer:btrace' (read-btrace) 数据包
show remote read-fdpic-loadmap-packet -- Show current use of remote protocol `qXfer:fdpic:read' (read-fdpic-loadmap) packet # 显示当前使用的远程协议 `qXfer:fdpic:read' (read-fdpic-loadmap) 数据包
show remote read-sdata-object-packet -- Show current use of remote protocol `qXfer:statictrace:read'(read-sdata-object) packet # 显示当前使用的远程协议 `qXfer:statictrace:read' (read-sdata-object) 数据包
show remote read-siginfo-object-packet -- Show current use of remote protocol `qXfer:siginfo:read' (read-siginfo-object) packet # 显示当前使用的远程协议 `qXfer:siginfo:read' (read-siginfo-object) 数据包
show remote read-spu-object-packet -- Show current use of remote protocol `qXfer:spu:read'(read-spu-object) packet # 显示当前使用的远程协议 `qXfer:spu:read' (read-spu-object) 数据包
show remote read-watchpoint-packet -- Show current use of remote protocol `Z3' (read-watchpoint) packet # 显示远程协议“Z3”(读取观察点)数据包的当前使用
show remote reverse-continue-packet -- Show current use of remote protocol `bc' (reverse-continue) packet # 显示远程协议“bc”(反向继续)数据包的当前使用
show remote reverse-step-packet -- Show current use of remote protocol `bs'(reverse-step) packet # 显示远程协议“bs”(反向)数据包的当前使用
show remote run-packet -- Show current use of remote protocol `vRun' (run) packet # 显示远程协议“vRun”(运行)数据包的当前使用情况
show remote search-memory-packet -- Show current use of remote protocol `qSearch:memory' (search-memory) packet # 显示当前使用的远程协议 `qSearch:memory'(search-memory) 数据包
show remote set-register-packet -- Show current use of remote protocol `P' (set-register) packet # 显示远程协议“P”(设置寄存器)数据包的当前使用
show remote software-breakpoint-packet -- Show current use of remote protocol `Z0' (software-breakpoint) packet # 显示远程协议“Z0”(软件断点)数据包的当前使用
show remote static-tracepoints-packet -- Show current use of remote protocol `StaticTracepoints'(static-tracepoints) packet # 显示当前使用的远程协议 `StaticTracepoints' (static-tracepoints) 数据包
show remote supported-packets-packet -- Show current use of remote protocol `qSupported' (supported-packets) packet # 显示当前使用的远程协议 `qSupported' (supported-packets) 数据包
show remote swbreak-feature-packet -- Show current use of remote protocol `swbreak-feature'(swbreak-feature) packet # 显示当前使用远程协议 `swbreak-feature' (swbreak-feature) 数据包
show remote symbol-lookup-packet -- Show current use of remote protocol `qSymbol' (symbol-lookup) packet # 显示远程协议“qSymbol”(符号查找)数据包的当前使用
show remote system-call-allowed -- Show if the host system(3) call is allowed for the target # 显示目标是否允许主机系统调用
show remote target-features-packet -- Show current use of remote protocol `qXfer:features:read' (target-features) packet # 显示当前使用的远程协议 `qXfer:features:read'(target-features) 数据包
show remote thread-events-packet -- Show current use of remote protocol `QThreadEvents' (thread-events) packet # 显示远程协议“QThreadEvents”(线程事件)数据包的当前使用情况
show remote threads-packet -- Show current use of remote protocol `qXfer:threads:read' (threads) packet # 显示远程协议“qXfer:threads:read”(线程)数据包的当前使用
show remote trace-buffer-size-packet -- Show current use of remote protocol `QTBuffer:size'(trace-buffer-size) packet # 显示当前使用的远程协议 `QTBuffer:size' (trace-buffer-size) 数据包
show remote trace-status-packet -- Show current use of remote protocol `qTStatus' (trace-status) packet # 显示远程协议“qTStatus”(跟踪状态)数据包的当前使用情况
show remote traceframe-info-packet -- Show current use of remote protocol `qXfer:traceframe-info:read' (traceframe-info) packet # 显示当前使用的远程协议 `qXfer:traceframe-info:read'(traceframe-info) 数据包
show remote unwind-info-block-packet -- Show current use of remote protocol `qXfer:uib:read' (unwind-info-block) packet # 显示当前使用的远程协议 `qXfer:uib:read' (unwind-info-block) 数据包
show remote verbose-resume-packet -- Show current use of remote protocol `vCont'(verbose-resume) packet # 显示当前使用的远程协议 `vCont' (verbose-resume) 数据包
show remote verbose-resume-supported-packet -- Show current use of remote protocol `vContSupported' (verbose-resume-supported) packet # 显示远程协议“vContSupported”(支持详细恢复)数据包的当前使用
show remote vfork-event-feature-packet -- Show current use of remote protocol `vfork-event-feature' (vfork-event-feature) packet # 显示当前使用远程协议 `vfork-event-feature'(vfork-event-feature) 数据包
show remote write-siginfo-object-packet -- Show current use of remote protocol `qXfer:siginfo:write' (write-siginfo-object) packet # 显示当前使用的远程协议 `qXfer:siginfo:write' (write-siginfo-object) 数据包
show remote write-spu-object-packet -- Show current use of remote protocol `qXfer:spu:write'(write-spu-object) packet # 显示当前使用的远程协议 `qXfer:spu:write' (write-spu-object) 数据包
show remote write-watchpoint-packet -- Show current use of remote protocol `Z2' (write-watchpoint) packet # 显示远程协议“Z2”(写入观察点)数据包的当前使用情况
show remoteaddresssize -- Show the maximum size of the address (in bits)in a memory packet # 显示内存包中地址的最大大小(以位为单位)
show remotecache -- Show cache use for remote targets # 显示远程目标的缓存使用
show remoteflow -- Show use of hardware flow control for remote serial I/O # 展示对远程串行 I/O 的硬件流控制的使用
show remotelogbase -- Show numerical base for remote session logging # 显示远程会话记录的数字基数
show remotelogfile -- Show filename for remote session recording # 显示远程会话记录的文件名
show remotetimeout -- Show timeout limit to waitfor target to respond # 显示超时限制以等待目标响应
show remotewritesize -- Show the maximum number of bytes per memory write packet (deprecated)# 显示每个内存写入数据包的最大字节数(不推荐)
show schedule-multiple -- Show mode for resuming threads of all processes # 显示恢复所有进程线程的模式
show scheduler-locking -- Show mode for locking scheduler during execution # 执行期间锁定调度程序的显示模式
show script-extension -- Show mode for script filename extension recognition # 脚本文件扩展名识别的显示模式
show serial -- Show default serial/parallel port configuration # 显示默认串行/并行端口配置
show serial baud -- Show baud rate for remote serial I/O # 显示远程串行 I/O 的波特率
show serial parity -- Show parity for remote serial I/O # 显示远程串行 I/O 的奇偶校验
show solib-absolute-prefix -- Show the current system root # 显示当前系统根目录
show solib-search-path -- Show the search path for loading non-absolute shared library symbol files # 显示加载非绝对共享库符号文件的搜索路径
show stack-cache -- Show cache use for stack access # 显示用于堆栈访问的缓存
show startup-with-shell -- Show use of shell to start subprocesses # 显示使用 shell 来启动子进程
show step-mode -- Show mode of the step operation # 步进操作的显示模式
show stop-on-solib-events -- Show stopping for shared library events # 显示共享库事件的停止
show struct-convention -- Show the convention for returning small structs # 显示返回小结构的约定
show substitute-path -- Usage: show substitute-path [FROM]# 用法:显示替代路径 [FROM]
show sysroot -- Show the current system root # 显示当前系统根目录
show target-charset -- Show the target character set# 显示目标字符集
show target-file-system-kind -- Show assumed file system kind for target reported file names # 显示目标报告文件名的假定文件系统类型
show target-wide-charset -- Show the target wide character set# 显示目标宽字符集
show tcp -- TCP protocol specific variables # TCP 协议特定变量
show tcp auto-retry -- Show auto-retry on socket connect # 在套接字连接上显示自动重试
show tcp connect-timeout -- Show timeout limit in seconds for socket connection # 以秒为单位显示套接字连接的超时限制
show tdesc -- Show target description specific variables # 显示目标描述特定变量
show tdesc filename -- Show the file to readfor an XML target description # 显示要读取的文件以获取 XML 目标描述
show trace-buffer-size -- Show requested size of trace buffer # 显示请求的跟踪缓冲区大小
show trace-commands -- Show state of GDB CLI command tracing # 显示 GDB CLI 命令跟踪的状态
show trace-notes -- Show the notes string to use for current and future trace runs # 显示用于当前和未来跟踪运行的注释字符串
show trace-stop-notes -- Show the notes string to use for future tstop commands # 显示用于未来 tstop 命令的注释字符串
show trace-user -- Show the user name to use for current and future trace runs # 显示用于当前和未来跟踪运行的用户名
show trust-readonly-sections -- Show mode for reading from readonly sections # 从只读部分读取的显示模式
show tui -- TUI configuration variables # TUI 配置变量
show tui active-border-mode -- Show the attribute mode to use for the active TUI window border # 显示用于活动 TUI 窗口边框的属性模式
show tui border-kind -- Show the kind of border for TUI windows # 显示 TUI 窗口的边框类型
show tui border-mode -- Show the attribute mode to use for the TUI window borders # 显示用于 TUI 窗口边框的属性模式
show unwind-on-terminating-exception -- Show unwinding of stack if std::terminate() is called whilein a call dummy # 如果 std::terminate() 在 call dummy 中被调用,则显示堆栈展开
show unwindonsignal -- Show unwinding of stack if a signal is received whilein a call dummy # 如果在调用虚拟中接收到信号,则显示堆栈展开
show use-coredump-filter -- Show whether gcore should consider /proc/PID/coredump_filter # 显示 gcore 是否应该考虑 /proc/PID/coredump_filter
show use-deprecated-index-sections -- Show whether to use deprecated gdb_index sections # 显示是否使用已弃用的 gdb_index 部分
show user -- Show definitions of non-python/scheme user defined commands # 显示非 python/scheme 用户定义命令的定义
show values -- Elements of value history around item number IDX (or last ten)# 项目编号 IDX(或最后十个)周围的价值历史元素
show verbose -- Show verbosity # 显示详细程度
show version -- Show what version of GDB this is # 显示这是什么版本的 GDB
show warranty -- Various kinds of warranty you do not have # 您没有的各种warranty
show watchdog -- Show watchdog timer # 显示看门狗定时器
show width -- Show number of characters where GDB should wrap lines of its output # 显示 GDB 应在其输出中换行的字符数
show write -- Show writing into executable and core files # 显示写入可执行文件和核心文件
10、support 命令类
Command class: support(支持)! -- Execute the rest of the line as a shell command# 将该行的其余部分作为 shell 命令执行
add-auto-load-safe-path -- Add entries to the list of directories from which it is safe to auto-load files # 将条目添加到可以安全地自动加载文件的目录列表
add-auto-load-scripts-directory -- Add entries to the list of directories from which to load auto-loaded scripts # 将条目添加到要从中加载自动加载脚本的目录列表alias -- Define a new command that is an alias of an existing command# 定义一个新命令,它是现有命令的别名apropos -- Search for commands matching a REGEXP # 搜索与 REGEXP 匹配的命令
define -- Define a new command name # 定义一个新的命令名称
demangle -- Demangle a mangled name # 对损坏的名称进行解码
document -- Document a user-defined command# 记录用户定义的命令
dont-repeat -- Don't repeat this command # 不要重复这个命令
down-silently -- Same as the `down'command# 与 `down' 命令相同echo -- Print a constant string # 打印一个常量字符串help -- Print list of commands # 打印命令列表if -- Execute nested commands once IF the conditional expression is non zero # 如果条件表达式不为零,则执行一次嵌套命令
interpreter-exec -- Execute a commandin an interpreter # 在解释器中执行命令make -- Run the ``make'' program using the rest of the line as arguments # 使用该行的其余部分作为参数运行“make”程序
new-ui -- Create a new UI # 创建一个新的用户界面
overlay -- Commands for debugging overlays # 调试覆盖的命令
overlay auto -- Enable automatic overlay debugging # 启用自动覆盖调试
overlay list-overlays -- List mappings of overlay sections # 列出覆盖部分的映射
overlay load-target -- Read the overlay mapping state from the target # 从目标读取覆盖映射状态
overlay manual -- Enable overlay debugging # 启用覆盖调试
overlay map-overlay -- Assert that an overlay section is mapped # 断言覆盖部分已映射
overlay off -- Disable overlay debugging # 禁用覆盖调试
overlay unmap-overlay -- Assert that an overlay section is unmapped # 断言覆盖部分未映射
quit -- Exit gdb # 退出 gdb
shell -- Execute the rest of the line as a shell command# 将该行的其余部分作为 shell 命令执行source -- Read commands from a file named FILE # 从名为 FILE 的文件中读取命令
up-silently -- Same as the `up' command# 与“up”命令相同while -- Execute nested commands WHILE the conditional expression is non zero # 在条件表达式非零时执行嵌套命令
11、tracepoints 命令类
Command class: tracepoints(跟踪点)
actions -- Specify the actions to be taken at a tracepoint # 指定要在跟踪点执行的操作
collect -- Specify one or more data items to be collected at a tracepoint # 指定要在跟踪点收集的一个或多个数据项
end -- Ends a list of commands or actions # 结束命令或操作列表
passcount -- Set the passcount for a tracepoint # 设置跟踪点的 passcount
tdump -- Print everything collected at the current tracepoint # 打印在当前跟踪点收集的所有内容
teval -- Specify one or more expressions to be evaluated at a tracepoint # 指定要在跟踪点评估的一个或多个表达式
tfind -- Select a trace frame;# 选择一个跟踪框架
tfind end -- De-select any trace frame and resume 'live' debugging # 取消选择任何跟踪帧并恢复“实时”调试
tfind line -- Select a trace frame by source line # 按源行选择跟踪帧
tfind none -- De-select any trace frame and resume 'live' debugging # 取消选择任何跟踪帧并恢复“实时”调试
tfind outside -- Select a trace frame whose PC is outside the given range (exclusive)# 选择 PC 超出给定范围(不包括)的跟踪帧
tfind pc -- Select a trace frame by PC # 通过 PC 选择跟踪帧
tfind range -- Select a trace frame whose PC is in the given range (inclusive)# 选择 PC 在给定范围(含)内的跟踪帧
tfind start -- Select the first trace frame in the trace buffer # 选择跟踪缓冲区中的第一个跟踪帧
tfind tracepoint -- Select a trace frame by tracepoint number # 按跟踪点编号选择跟踪帧
tsave -- Save the trace data to a file# 将跟踪数据保存到文件
tstart -- Start trace data collection # 开始跟踪数据收集
tstatus -- Display the status of the current trace data collection # 显示当前跟踪数据收集的状态
tstop -- Stop trace data collection # 停止跟踪数据收集
tvariable -- Define a trace state variable # 定义跟踪状态变量
while-stepping -- Specify single-stepping behavior at a tracepoint # 在跟踪点指定单步行为
12、user-defined 命令类
Command class: user-defined(用户自定义)
Unclassified commands # 未分类的命令
add-inferior -- Add a new inferior # 添加一个新的inferior
clone-inferior -- Clone inferior ID # 克隆inferior IDeval -- Convert "printf format string"# 转换“printf 格式字符串”function -- Placeholder commandfor showing help on convenience functions # 用于显示便利功能帮助的占位符命令function _any_caller_is -- Check all calling function's names # 检查所有调用函数的名称
function _any_caller_matches -- Compare all calling function's names with a regexp # 将所有调用函数名称与正则表达式进行比较function _as_string -- Return the string representation of a value # 返回值的字符串表示形式function _caller_is -- Check the calling function's name # 检查调用函数的名称
function _caller_matches -- Compare the calling function's name with a regexp # 将调用函数名称与正则表达式进行比较function _isvoid -- Check whether an expression is void # 检查表达式是否为空function _memeq -- $_memeq - compare bytes of memory # 比较内存字节function _regex -- $_regex - check if a string matches a regular expression # 检查字符串是否匹配正则表达式function _streq -- $_streq - check string equality # 检查字符串相等function _strlen -- $_strlen - compute string length # 计算字符串长度
jit-reader-load -- Load FILE as debug info reader and unwinder for JIT compiled code # 将 FILE 加载为 JIT 编译代码的调试信息阅读器和展开器
jit-reader-unload -- Unload the currently loaded JIT debug info reader # 卸载当前加载的 JIT 调试信息阅读器
remove-inferiors -- Remove inferior ID (or list of IDs)# 删除劣质 ID(或 ID 列表)unset -- Complement to certain "set" commands # 对某些“设置”命令的补充unset environment -- Cancel environment variable VAR for the program # 取消程序的环境变量VARunset exec-wrapper -- Disable use of an execution wrapper # 禁用执行包装器unset substitute-path -- Usage: unset substitute-path [FROM]# 用法:取消设置替代路径 [FROM]unset tdesc -- Unset target description specific variables # 取消设置目标描述特定变量unset tdesc filename -- Unset the file to readfor an XML target description # 取消设置要读取 XML 目标描述的文件