From mboxrd@z Thu Jan 1 00:00:00 1970 From: lehotsky@earthlink.net To: cgen@sourceware.cygnus.com Subject: debugging help? Date: Tue, 08 May 2001 09:49:00 -0000 Message-id: <200105081641.MAA04422@iron.> X-SW-Source: 2001-q2/msg00038.html 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