Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2017-04

LineInfo

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco Borsari

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

Marco Borsari

Reply by email

Martok
to Michael Van Canneyt
> 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

Reply by email

Sven Barth
to Martok
"Martok" 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 :/ 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

Reply by email

Michael Van Canneyt
to Sven Barth
Sven Barth wrote 13 lines
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.

Reply by email

Tomas Hajny
to Michael Van Canneyt
Michael Van Canneyt wrote 21 lines
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

Reply by email

Sven Barth
to Tomas Hajny
"Tomas Hajny" wrote 25 lines
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

Reply by email