alias subcommand for dbx: Display and assign subcommand aliases

Format

alias [name] [string]

Description

The alias subcommand creates aliases for dbx subcommands. The name argument is the alias being created. The string argument is a series of dbx subcommands that, after the execution of this subcommand, can be referred to by name. If the alias subcommand is used without aliases, it displays all current aliases.

Usage notes

The alias subcommand can be run only while the dbx debug program is running.

Examples

  1. To set tracef1 to be an alias for trace in f1, enter:
    alias tracef1 "trace in f1"
  2. To define a stopf alias with file and line arguments to allow shorthand for setting a breakpoint within a file, enter:
    alias stopf(file, line) "stop at \"file\":line"