[fpc-devel] Re: Debugger for FPC
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Mar 14 16:08:17 CET 2009
On 14 Mar 2009, at 15:59, Paul Ishenin wrote:
> Jonas Maebe wrote:
>> Strange, that error looks very much like the one that should have
>> been fixed by http://bugs.freepascal.org/view.php?id=12872
> Yes.
>
> I tried to compile so (gdb complained the same way):
> c:\programming\fpc\bin\i386-win32\ppc386.exe -Aas -gw test.pp
> and fpc wrote me this note:
> "Note: Switching assembler to default source writing assembler"
>
> Maybe it switched back assembler from -Aas to "default" for some
> reason?
No, the compiler simply does not check whether the external assembler
is already selected before writing that message:
if (paratargetdbg in [dbg_dwarf2,dbg_dwarf3]) and
(target_info.system = system_i386_win32) then
begin
Message(option_switch_bin_to_src_assembler);
set_target_asm(target_info.assemextern);
end;
Jonas
More information about the fpc-devel
mailing list