Re: [fpc-devel] LineInfo

2017-04-04 Thread Sven Barth via fpc-devel
Am 04.04.2017 10:42 schrieb "Tomas Hajny" :
>
> On Tue, April 4, 2017 10:21, Michael Van Canneyt wrote:
> > On Tue, 4 Apr 2017, Sven Barth via fpc-devel wrote:
> >> Am 04.04.2017 08:52 schrieb "Martok" :
> >>>
> > Does it is possible that the LineInfo trace (-gl option) are broken
> >> (no output)
> > in 3.0.2 version on Linux (at least)?
> 
>  Hm. Indeed. I can reproduce the issue :/
> >>> AFAIR lineinfo.pp only works with Stabs? Didn't the default change to
> >> Dwarf?
> >>
> >> AFAIK -gl automatically picks the correct one depending on the debug
> >> info
> >> that's used for the main program. (At least that's what I assumed up
> >> until
> >> now...)
> >
> > That is so.
> > But I thought of this and tried with -gs and -gd (or whatever the DWARF
> > option was)
> > I got the issue with both kinds.
>
> Is there any difference between the internal and external linker (-Xe)?

Internal linker is not yet enabled on Linux.

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] LineInfo

2017-04-04 Thread Tomas Hajny
On Tue, April 4, 2017 10:21, Michael Van Canneyt wrote:
> On Tue, 4 Apr 2017, Sven Barth via fpc-devel wrote:
>> Am 04.04.2017 08:52 schrieb "Martok" :
>>>
> Does it is possible that the LineInfo trace (-gl option) are broken
>> (no output)
> in 3.0.2 version on Linux (at least)?

 Hm. Indeed. I can reproduce the issue :/
>>> AFAIR lineinfo.pp only works with Stabs? Didn't the default change to
>> Dwarf?
>>
>> AFAIK -gl automatically picks the correct one depending on the debug
>> info
>> that's used for the main program. (At least that's what I assumed up
>> until
>> now...)
>
> That is so.
> But I thought of this and tried with -gs and -gd (or whatever the DWARF
> option was)
> I got the issue with both kinds.

Is there any difference between the internal and external linker (-Xe)?

Tomas


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] LineInfo

2017-04-04 Thread Michael Van Canneyt



On Tue, 4 Apr 2017, Sven Barth via fpc-devel wrote:


Am 04.04.2017 08:52 schrieb "Martok" :



Does it is possible that the LineInfo trace (-gl option) are broken

(no output)

in 3.0.2 version on Linux (at least)?


Hm. Indeed. I can reproduce the issue :/

AFAIR lineinfo.pp only works with Stabs? Didn't the default change to

Dwarf?

AFAIK -gl automatically picks the correct one depending on the debug info
that's used for the main program. (At least that's what I assumed up until
now...)


That is so. 
But I thought of this and tried with -gs and -gd (or whatever the DWARF option was)

I got the issue with both kinds.

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] LineInfo

2017-04-04 Thread Sven Barth via fpc-devel
Am 04.04.2017 08:52 schrieb "Martok" :
>
> >> Does it is possible that the LineInfo trace (-gl option) are broken
(no output)
> >> in 3.0.2 version on Linux (at least)?
> >
> > Hm. Indeed. I can reproduce the issue :/
> AFAIR lineinfo.pp only works with Stabs? Didn't the default change to
Dwarf?

AFAIK -gl automatically picks the correct one depending on the debug info
that's used for the main program. (At least that's what I assumed up until
now...)

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] LineInfo

2017-04-04 Thread Martok
>> Does it is possible that the LineInfo trace (-gl option) are broken (no 
>> output)
>> in 3.0.2 version on Linux (at least)?
> 
> Hm. Indeed. I can reproduce the issue :/
AFAIR lineinfo.pp only works with Stabs? Didn't the default change to Dwarf?


Martok





___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] LineInfo

2017-04-03 Thread Michael Van Canneyt



On Mon, 3 Apr 2017, Marco Borsari via fpc-devel wrote:


Does it is possible that the LineInfo trace (-gl option) are broken (no output)
in 3.0.2 version on Linux (at least)?


Hm. Indeed. I can reproduce the issue :/

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel