Shuzheng
Shuzheng

Reputation: 13830

How can I see the definition of an alias in lldb on macOS?

I know how to define my own alias's etc, but I can't figure out how to view the definition of already defined alias's like image:

  image     -- Commands for accessing information for one or more target modules.

The above alias is central to inspecting e.g. symbol information in the target program, and so I'd like to see how it's defined in terms of the main commands.

Upvotes: 0

Views: 229

Answers (1)

Ken Thomases
Ken Thomases

Reputation: 90521

I don't know if there's a better way that produces less noisy output, but help image includes this at the end of its output:

'image' is an abbreviation for 'target modules'

That seems to be the case for aliases in general.

Upvotes: 2

Related Questions