Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

most needed gdb commands, taken from this video ->https://www.youtube.com/watch?v=svG6OPyKsrw&t=2s

NotificationsYou must be signed in to change notification settings

Subhankar2000/gdb-simple-commands

Repository files navigation

runStart debugged program.
breakSet breakpoint at specified location.
nextStep program, proceeding through subroutine calls.
listList specified function or line.
printPrint value of expression EXP.
upSelect and print stack frame that called this one.
downSelect and print stack frame called by this one.
displayPrint value of expression EXP each time the program stops.
undisplayCancel some expressions to be displayed when program stops.
backtracePrint backtrace of all stack frames, or innermost COUNT frames.
stepStep program until it reaches a different source line.
continueContinue program being debugged, after signal or breakpoint.
finishExecute until selected stack frame returns.
watchSet a watchpoint for an expression.
info breakpointsStatus of specified breakpoints (all user-settable breakpoints if no argument).
delete breakpointsDelete all or some breakpoints or auto-display expressions.
whatisPrint data type of expression EXP.
target record-fullLog program while executing and replay execution from log.
reverse-nextStep program backward, proceeding through subroutine calls.
set varEvaluate expression EXP and assign result to variable VAR.

[8]ページ先頭

©2009-2025 Movatter.jp