This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
debugging help?
- To: cgen at sourceware dot cygnus dot com
- Subject: debugging help?
- From: lehotsky at earthlink dot net
- Date: Tue, 8 May 2001 12:41:50 -0400 (EDT)
the cgen code doesn't seem to issue very useful error messages.
Any suggestions on how to track down this problem?
cgen -s /export/home/lehotsky/basel/sim/tpc/../../cgen/cgen-sim.scm -s /export/home/lehotsky/basel/sim/tpc/../../cgen -v -f with-profile=fn -m tpc -a tpc -i all -C tmp-cpu.h1 -U tmp-cpu.c1 -M tmp-mod.c1 -S tmp-sem.c1 -T tmp-dec.h1 -D tmp-dec.c1 -S tmp-sem.c1
Setting option `with-profile' to "fn".
Loading cpu file /export/home/lehotsky/basel/sim/tpc/../../cgen/tpc.cpu ...
Including file simplify.inc ...
Processing cpu file /export/home/lehotsky/basel/sim/tpc/../../cgen/tpc.cpu ...
Generating tpcbf cpu.h ...
Analyzing instruction set ...
Done analysis.
Computing sformat argument buffers ...
ERROR: bad bitsize argument to gen-ifetch 4
No backtrace available.
make[1]: *** [cgen-cpu-decode] Error 1
======
I looked at the theory that maybe one of my instruction
defines didn't describe a "32 bit" instruction. But every one of
them lays out the full 32 bits of each fixed-length instruction.
-- Al