Name

args

set args
show args

Give the debuggee the argument list when you start it. The run command uses this list when it isn’t given any arguments. See the entry for run in the later section "Alphabetical Summary of GDB Commands.”

Get GDB Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.