The default number of lines listed when no number is specified is controlled by the dbxenv variable output_list_size. Where appropriate, the line number may be $ (dollar sign) which denotes the last line of the file. A comma is optional.
To print a specific line number:
list number
To print the next number lines, or the previous number lines, use the plus or minus sign:
list [ + | - ] number
To list lines from one number to another:
list number1 number2
To list the start of the file filename:
list filename
To list the file filename from line number:
list filename:number
To list the start of the source for function:
list function
This command changes the current scope.
To intermix source lines and assembly code:
list -i
To list number lines, a window, around a line or function:
list -w number
This option is not allowed in combination with the + or - syntax or when two line numbers are specified.