|
|
The program that you compiled has a serious problem and we are going to find it. To debug the executable file called a.out, enter the following at the shell prompt:
$ dbxtra a.outThis starts the curses-based version of dbxtra. To initiate the Motif version, enter the following at the system prompt:
$ dbXtra a.outIn this tutorial session, only the curses version of the debugger will be described. Although the method of presentation is different, the functionalities of the commands in both versions are identical. You may, of course, specify the name of any executable file you wish to debug. If you do not specify the name of an executable file, dbxtra prompts you for one.
At startup, dbxtra informs you that it is reading in the symbolic information in the executable file and that it is using the memory image in the core file.