edit [procedure | file]
The edit subcommand invokes an editor on the specified file. The file can be specified through the file argument or through the procedure argument (in which case the editor is invoked on the file containing that procedure). If no file is specified, the editor is invoked on the current source file. The default editor is the ed editor. Override the default by resetting the EDITOR environment variable to the name of the desired editor.
edit
edit main.c
edit do_count
The ed editor.
The list subcommand for the dbx command.