Paul Ishenin wrote on do, 19 mrt 2009:
Jonas Maebe wrote:
I've tested this (by editing the .s file) and gdb still seems to work
and doesn't complain anymore.
Can you test the attached patch? I tried to send it to Paul, but mail.ru
I have tested. No more warnings!
But, it uses external linker anyway now :( Maybe after your patch
internal linker will work too?
That's extremely unlikely.
How can I check this?
Look for the following code in compiler/options.pas and disable it:
{ the internal linker does not work yet with DWARF either }
if assigned(target_info.link) and
not(cs_link_extern in init_settings.globalswitches) then
begin
Message(option_dwarf_external_linker);
include(init_settings.globalswitches,cs_link_extern);
end;
Jonas
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel