Displays the name of the current file.
list nowDisplays the current line.
list [ next ]Displays the next 10 lines, including the current line. The current line is changed to the last line displayed.
list previousDisplays the last 10 lines, except for the current line. The current line is changed to the last line displayed.
list aroundDisplays the last 5 lines and the next 5 lines, including the current line. The current line is changed to the last line displayed.
list [ 'file' ] numChanges from the current line of the current file to the line number num of the source file file, and displays the next 10 lines, including the new current line. If file is omitted, the current file is not changed.
list +|-offsetDisplays the line forward (+) or backward (-) offset lines from the current line. The current line is changed to the last line displayed.
list [ 'file' ] top,botDisplays the source file lines between line number top and line number bot in the source file file. If file is omitted, it defaults to the current file. The current line is changed to the last line displayed.
list [ func[tion ] funcnameDisplays the last 5 lines and the next 5 lines of the entry point of the function funcname.
disasDisplays the current machine language instruction in disassembled form.
disas *addr1 [ ,*addr2 ]Displays the machine language instructions between address addr1 and address addr2 in disassembled form. If addr2 is omitted, it defaults to the end of the current function that contains address addr1.
disas funcnameDisplays all instructions of the function funcname in disassembled form.