If a non VHDL file is given as argument GHDL simply points it out.
If a directory is given (even if it is nonsense it could happen by
mistake), it crashes with a message that doesn't explain what happens at
all.

Here is my output:

$ file test
test: directory

$ ghdl -a test

******************** GHDL Bug occured ****************************
Please report this bug on http://gna.org/projects/ghdl
GHDL release: GHDL 0.29 (20100109) [Sokcho edition]
Compiled with GNAT Version: 4.7.2
In directory: /home/david/
Command line:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.4/ghdl1
-P/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.4/vhdl/lib//v93/std/
-P/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.4/vhdl/lib//v93/ieee/ -quiet
-o test.s test
Exception TYPES.INTERNAL_ERROR raised
Exception information:
Exception name: TYPES.INTERNAL_ERROR
Message: files_map.adb:779
Call stack traceback locations:
0x471432 0x462b95 0x4d00ad 0x42bd66 0x40e082 0x41b5dc 0x42bdc9 0x40cc71
0x7ff71be3ea13 0x40ccaf 0xfffffffffffffffe
******************************************************************

Execution terminated by unhandled exception
Exception name: TYPES.INTERNAL_ERROR
Message: files_map.adb:779
Call stack traceback locations:
0x471432 0x462b95 0x4d00ad 0x42bd66 0x40e082 0x41b5dc 0x42bdc9 0x40cc71
0x7ff71be3ea13 0x40ccaf 0xfffffffffffffffe
ghdl: compilation error


Cheers,
David

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to