[fpc-devel] Unit initialization not called in arm-wince DLLs?

TOndrej tondrej at gmail.com
Mon Nov 20 14:45:50 CET 2006


Jonas Maebe wrote:
> p INTERFACEBASE_WIDGETSET

Thanks for your reply!

(gdb) p INTERFACEBASE_WIDGETSET
No symbol "INTERFACEBASE_WIDGETSET" in current context.

> x/x @INTERFACEBASE_WIDGETSET

(gdb) x/x @INTERFACEBASE_WIDGETSET
Unknown address space specifier: "INTERFACEBASE_WIDGETSET"

But:

(gdb) p WIDGETSET
$2 = (TWIDGETSET) 0x949960

(gdb) x/x WIDGETSET
0x949960:       0x00175568

So, is this the global variable I'm looking for, ie.
InterfaceBase.WidgetSet? What happens if I have another global
variable of the same name in another unit?
Sorry about the confusion, I should probably read the FPC
documentation more carefully.
Is the symbol naming convention documented somewhere?

Thanks for your help, I appreciate it a lot!

TOndrej



More information about the fpc-devel mailing list