GDB is part of the GNU framework, and was created to work alongside of g++ , which is the GNU C++ compiler.
LLDB is part of the LLVM framework, and was created to work alongside of clang++ , which is the LLVM C++ compiler.
address is following last thing examined or printed
aliases
list func
specified function or line
run
Start debugged program
ni
NextInstruction : Step one instruction
si
one instruction exactly
rc
ReverseContinue: run it in reverse
rni
ReverseNextInstruction: backward one instruction
rsi
ReverseSingleInstruction:backward exactly one instruction
stepping
tp line|func
TracePoint at line or function
where
output backtrace stack frames
ws
single-stepping behavior at a tracepoint
tty
terminal for future runs
breakpoints TOC
clear
breakpoint at specified line or function
awatch
for an expression
Set a watchpoint for an expression. awatch [-l|-location] EXPRESSION
stops execution whenever the value of an expression is accessed
If -l or -location is given, this evaluates EXPRESSION and watches the memory to which it refers.
break
at a line or function
commands
be executed when a breakpoint is hit
break-range
for an address range
breakpoints
condition
Specify breakpoint number N to break only if COND is true
delete breakpoints
some breakpoints or auto-display expressions
enable breakpoints
enable breakpoints delete
Enable breakpoints and delete when hit
enable breakpoints once
Enable breakpoints for one hit
enable
Enable some breakpoints
enable delete
breakpoints and delete when hit
rbreak
breakpoint for all functions matching REGEXP
save breakpoints
Save current breakpoint definitions as a script
disable
some breakpoints
disable breakpoints
some breakpoints
save
Save breakpoint definitions as a script
hbreak
hardware assisted breakpoint
ignore
ignore-count of breakpoint number N to COUNT
enable once
breakpoints for one hit
tbreak
a temporary breakpoint
thbreak
a temporary hardware assisted breakpoint
breakpoint
Breakpoint specific settings
breakpoint always-inserted
mode for inserting breakpoints
breakpoint pending
debugger's behavior regarding pending breakpoints
may-insert-breakpoints
permission to insert breakpoints in the target
breakpoint auto-hw
automatic usage of hardware breakpoints
hardware-breakpoint-limit
the maximum number of target hardware breakpoints
hardware-breakpoint-packet
Z1' (hardware-breakpoint) packet
software-breakpoint-packet
Z0' (software-breakpoint) packet
m info breakpoints
Status of all breakpoints
sho breakpoint always-inserted
mode for inserting breakpoints
sho breakpoint auto-hw
automatic usage of hardware breakpoints
sho breakpoint pending
debugger's behavior regarding pending breakpoints
show remote hardware-breakpoint-limit
the maximum number of target hardware breakpoints
show remote hardware-breakpoint-packet
`Z1' (hardware-breakpoint) packet
show remote software-breakpoint-packet
`Z0' (software-breakpoint) packet
show remotebreak
whether to send break if interrupted
break
whether to send break if interrupted
sho breakpoint
Breakpoint specific settings
delete checkpoint
delete display
Cancel some expressions to be displayed when program stops
delete bookmark
disable pretty-printer
disable tracepoints
enable display
Enable some expressions to be displayed when program stops