On 09/06/15 02:43, Lehmann, Patrick wrote:
Hello again,
ghdl is compile without -g or -ggdb. There is also an addition strip run to
remove symbols.
I deactivated executable striping so GDB could find any symbols.
Here is the output from start until breakpoint:
D:\git\SATAController\lib\PoC\temp\ghdl [paebbels/experimental +16 ~2 -0 !]>
gdb --args C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a --syn-binding --std=93
--work=test D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl
GNU gdb (GDB) 7.7 for GNAT GPL 2014 (20140405)
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
See your support agreement for details of warranty and support.
If you do not have a current support agreement, then there is absolutely
no warranty for this version of GDB. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
Type "show configuration" for configuration details.For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Tools\GHDL\0.33dev\bin\ghdl.exe...done.
(gdb) catch exception
Catchpoint 1: all Ada exceptions
(gdb) run
Starting program: C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a --syn-binding "--std=93"
"--work=test" D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl
[New Thread 27328.0x6d7c]
D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl:6:28: package "utils" is
obsoleted by package "std_logic_1164"
D:\git\SATAController\lib\PoC\src\common\vectors.vhdl:39:28: package "utils" is
obsolete
Argh, this isn't the crash: ghdl stopped analysis due to the above error
(std_logic_1164 was reanalyzed during the ghdl build I suppose).
So you first need to reanalyze vectors.vhdl (and possibly other files).
Tristan.
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss