dbx uses three global locations to track the parts of the program you are inspecting:
The current source code line, which is used and updated by the list command (see list Command). This line number is reset by some commands that alter the visiting scope (see Changing the Visiting Scope).
The current visiting scope, which is a compound variable described in the Visiting Scope. The visiting scope is used during expression evaluation. It is updated by the line command, the func command, the file command, the list func command and thelist file command.