[cs23021] specifying exacutable file to trace Re: project 1

Mikhail Nesterenko mikhail at cs.kent.edu
Sun Sep 9 09:56:56 EDT 2007


> I am having trouble setting a break point for the first project. Every
> time I try to set it I get the message "no symbol table is loaded. use
> the 'file' command."

You need to let the debugger know which executable file to trace. This
can be done by either specifying the file name as an option when you
start the debugger or by using the "file" command after gdb
starts. For example:

(gdb) file myfile


thanks,
--
Mikhail


More information about the cs23021 mailing list