Re: [fpc-devel] question on dwarf2 info written by fpc 2.6.2

2013-10-06 Thread Martin
On 06/10/2013 03:06, Paul Ishenin wrote: 06.10.13, 3:08, Martin пишет: On the other hand var a: longint; generates the same. Why? Because Integer is an alias - inside compiler only the symbol is different for thise case and the definition is the same. Yes, I know, I even wrote. DW_TAG_bas

Re: [fpc-devel] question on dwarf2 info written by fpc 2.6.2

2013-10-05 Thread Paul Ishenin
06.10.13, 3:08, Martin пишет: On the other hand var a: longint; generates the same. Why? Because Integer is an alias - inside compiler only the symbol is different for thise case and the definition is the same. Best regards, Paul Ishenin ___ fpc-d

[fpc-devel] question on dwarf2 info written by fpc 2.6.2

2013-10-05 Thread Martin
Just curliousity, nothing of the below is in any way a problem. Only I would like to understand. program project1; var a: integer; begin a:=1; end. generates for "a" DW_TAG_variable which points to (via DW_AT_type)DW_TAG_typedef which points to (via DW_AT_type) DW_TAG_base_type Looking