O'Reilly logo

Unix in a Nutshell, 4th Edition by Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Group Listing of GDB Commands

This section summarizes the GDB commands by task. Esoteric commands, such as those used by GDB's maintainers, or to cross-debug remote systems connected via serial port or a network, have been omitted.

Aliases for Other Commands

Alias

Short for...

Alias

Short for...

Alias

Short for...

bt

backtrace

f

frame

p

print

c

continue

fo

forward-search

po

print-object

cont

continue

gcore

generate-core-file

r

run

d

delete

h

help

s

step

dir

directory

i

info

share

sharedlibrary

dis

disable

l

list

si

stepi

do

down

n

next

u

until

e

edit

ni

nexti

where

backtrace

Breakpoints

awatch

Set an expression watchpoint.

break

Set a breakpoint at a line or function.

catch

Set a catchpoint to catch an event.

clear

Clear a given breakpoint.

commands

Specify commands to run when a breakpoint is reached.

condition

Supply a condition to a particular breakpoint.

delete

Delete one more breakpoints or auto-display expressions.

disable

Disable one or more breakpoints.

enable

Enable one or more breakpoints.

hbreak

Set a hardware assisted breakpoint.

ignore

Set the ignore-count of a particular breakpoint.

rbreak

Set a breakpoint for all functions matching a regular expression.

rwatch

Set a read watchpoint for an expression.

tbreak

Set a temporary breakpoint.

tcatch

Set a temporary catchpoint. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required