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 Catchpoint 1, ERROROUT.COMPILATION_ERROR at 0x0053b522 in ghdllocal.finish_compilation (unit=1206, main=false) at D:\hg\ghdl\src\ghdldrv\ghdllocal.adb:73 73 raise Compilation_Error; (gdb) Here comes the backtrace: (gdb) bt #0 <__gnat_debug_raise_exception> (e=0x5c6974 <errorout.compilation_error>) at s-excdeb.adb:43 #1 0x005a9c36 in ada.exceptions.complete_occurrence (x=x@entry=0x1617e0) at a-except.adb:947 #2 0x005a9c4e in ada.exceptions.complete_and_propagate_occurrence (x=x@entry=0x1617e0) at a-except.adb:956 #3 0x005a9cb3 in <__gnat_raise_exception> (e=0x5c6974 <errorout.compilation_error>, message=...) at a-except.adb:998 #4 0x0053b522 in ghdllocal.finish_compilation (unit=1206, main=false) at D:\hg\ghdl\src\ghdldrv\ghdllocal.adb:73 #5 0x004b556f in libraries.load_design_unit (design_unit=design_unit@entry=1206, loc=loc@entry=3928) at D:\hg\ghdl\src\libraries.adb:1561 #6 0x004b577a in libraries.load_primary_unit (library=1148, name=844, loc=3928) at D:\hg\ghdl\src\libraries.adb:1637 #7 0x00554cad in sem_names.sem_selected_name (keep_alias=false, name=3928) at D:\hg\ghdl\src\vhdl\sem_names.adb:1955 #8 sem_names.sem_name (name=name@entry=3928, keep_alias=keep_alias@entry=false) at D:\hg\ghdl\src\vhdl\sem_names.adb:3469 #9 0x0055a422 in sem_names.sem_denoting_name (name=3928) at D:\hg\ghdl\src\vhdl\sem_names.adb:3858 #10 0x00574993 in sem.sem_use_clause (clauses=clauses@entry=3926) at D:\hg\ghdl\src\vhdl\sem.adb:2691 #11 0x00574c0a in sem.sem_context_clauses (unit=unit@entry=2576) at D:\hg\ghdl\src\vhdl\sem.adb:2840 #12 0x005776c0 in sem.semantic (design_unit=design_unit@entry=2576) at D:\hg\ghdl\src\vhdl\sem.adb:3005 #13 0x0053b4d5 in ghdllocal.finish_compilation (unit=2576, main=false) at D:\hg\ghdl\src\ghdldrv\ghdllocal.adb:66 #14 0x004b556f in libraries.load_design_unit (design_unit=design_unit@entry=2576, loc=loc@entry=3428) at D:\hg\ghdl\src\libraries.adb:1561 #15 0x004b577a in libraries.load_primary_unit (library=2504, name=901, loc=3428) at D:\hg\ghdl\src\libraries.adb:1637 #16 0x00554cad in sem_names.sem_selected_name (keep_alias=false, name=3428) at D:\hg\ghdl\src\vhdl\sem_names.adb:1955 #17 sem_names.sem_name (name=name@entry=3428, keep_alias=keep_alias@entry=false) at D:\hg\ghdl\src\vhdl\sem_names.adb:3469 #18 0x0055a422 in sem_names.sem_denoting_name (name=3428) at D:\hg\ghdl\src\vhdl\sem_names.adb:3858 #19 0x00574993 in sem.sem_use_clause (clauses=clauses@entry=3426) at D:\hg\ghdl\src\vhdl\sem.adb:2691 #20 0x00574c0a in sem.sem_context_clauses (unit=unit@entry=2544) at D:\hg\ghdl\src\vhdl\sem.adb:2840 #21 0x005776c0 in sem.semantic (design_unit=design_unit@entry=2544) at D:\hg\ghdl\src\vhdl\sem.adb:3005 #22 0x0053b4d5 in ghdllocal.finish_compilation (unit=2544, main=false) at D:\hg\ghdl\src\ghdldrv\ghdllocal.adb:66 #23 0x004b556f in libraries.load_design_unit (design_unit=design_unit@entry=2544, loc=loc@entry=845) at D:\hg\ghdl\src\libraries.adb:1561 #24 0x004b577a in libraries.load_primary_unit (library=2504, name=799, loc=845) at D:\hg\ghdl\src\libraries.adb:1637 #25 0x00554cad in sem_names.sem_selected_name (keep_alias=false, name=845) at D:\hg\ghdl\src\vhdl\sem_names.adb:1955 #26 sem_names.sem_name (name=name@entry=845, keep_alias=keep_alias@entry=false) at D:\hg\ghdl\src\vhdl\sem_names.adb:3469 #27 0x0055a422 in sem_names.sem_denoting_name (name=845) at D:\hg\ghdl\src\vhdl\sem_names.adb:3858 #28 0x00574993 in sem.sem_use_clause (clauses=clauses@entry=843) at D:\hg\ghdl\src\vhdl\sem.adb:2691 #29 0x00574c0a in sem.sem_context_clauses (unit=unit@entry=828) at D:\hg\ghdl\src\vhdl\sem.adb:2840 #30 0x005776c0 in sem.semantic (design_unit=design_unit@entry=828) at D:\hg\ghdl\src\vhdl\sem.adb:3005 #31 0x0053b4d5 in ghdllocal.finish_compilation (unit=828, main=true) at D:\hg\ghdl\src\ghdldrv\ghdllocal.adb:66 #32 0x00537302 in ghdlcomp.perform_action (cmd=..., args=...) at D:\hg\ghdl\src\ghdldrv\ghdlcomp.adb:310 #33 0x00535b04 in ghdlmain.main () at D:\hg\ghdl\src\ghdldrv\ghdlmain.adb:333 #34 0x004807fa in ghdl_jit () at D:\hg\ghdl\src\ghdldrv\ghdl_jit.adb:34 Regards Patrick ----------------------------------- Wissenschaftliche Hilfskraft Technische Universität Dresden Fakultät Informatik Institut für Technische Informatik Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur 01062 Dresden Tel.: +49 351 463-38451 Fax: +49 351 463-38324 Raum: APB-1020 E-Mail: [email protected] WWW: http://vlsi-eda.inf.tu-dresden.de -----Original Message----- From: Ghdl-discuss [mailto:[email protected]] On Behalf Of Tristan Gingold Sent: Tuesday, June 09, 2015 2:24 AM To: [email protected] Subject: Re: [Ghdl-discuss] Error while handling floating point literals in physical literals On 09/06/15 01:10, Lehmann, Patrick wrote: > Oh sorry, > > so ignore my tests on ghdl 0.31 and 0.32rc1 on windows. > I cannot test it without many changes to my environment ... > ghdl uses the analyzed libs from 0.33dev :( > > But there was also a Linux test in my last mail showing that it is still > present in 0.33dev. > > Can I provide any further information? Yes. Build ghdl with debug info (I think this is the default, hummm). In the first message, the command line was: C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a -P. --syn-binding --std=93 --work=test D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl So run with gdb (use the gdb from gnat): gdb --args C:\Tools\GHDL\0.33dev\bin\ghdl.exe -a -P. --syn-binding --std=93 --work=test D:\git\SATAController\lib\PoC\tb\misc\misc_Noise_tb.vhdl Set a breakpoint: (gdb) catch exception (gdb) run And at the crash, display the backtrace: (gdb) bt That would be useful. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
