[Lazarus] GDB crash when I try to debug

Tobias Giesen tobias_subscriber at tgtools.com
Tue Jul 20 23:20:15 CEST 2010


Hello,

I found out the most incredible thing. When I add this stripped-down
unit to my program, GDB will crash loading it. When I remove the line
in the initialization section, it works. When I rename the unit, it 
works also. So I can easily work around the problem, but maybe a more 
generic solution should be made in FPC? Should I submit it as an FPC bug?

unit ZFUSysUtils;

interface

uses
  SysUtils,Types;

var
  Win32PlatformIsUnicode: Boolean;
  Win32PlatformIsXP: Boolean;
  Win32PlatformIs2003: Boolean;
  Win32PlatformIsVista: Boolean;


implementation


initialization
  Win32PlatformIsUnicode := true;

end.

Cheers,
Tobias







More information about the Lazarus mailing list