Preparing files for dbxtra
Included on the media with your copy of dbxtra are files
named dealer.c, bidding.h, and deal.c that you
can use to participate in this session.
These files are installed in the directory
/usr/lib/dbxtra/demo.
Locate these files, copy them to a working directory, and compile
them with:
$ cc -g dealer.c deal.c
NOTE:
To use dbxtra for source-level debugging,
use the -g compiler option to place symbolic
information, source line numbers, and variable names in
the object file.
Execute a.out,
and the system responds with:
a.out
Dealing 1 hands...
Illegal instruction - core dumped
$
NOTE:
The exact wording of the second line may vary from system
to system.
The message indicates that a core file, used for debugging,
has been written to the current directory.
Next topic:
Starting dbxtra
Previous topic:
dbxtra tutorial session
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003