I added trace result

(gdb) info line *0x100222C11
Line 729 of "lazloggerbase.pas" starts at address 0x100222bd8 <DBGOUT> and ends at 0x100222c35 <DBGOUT+93>.
(gdb) info symbol 0x100222C11
LAZLOGGERBASE$_$TLAZLOGGER_$__$$_DBGOUT$array_of_const + 57 in section .text of /Volumes/ram_disk/opt/lazarus/lazbuild
(gdb) info line *0x1000776AC
Line 1425 of "lclproc.pas" starts at address 0x1000776a0 <DBGOUT> and ends at 0x1000776f3 <DBGOUT+83>.
(gdb) info symbol 0x1000776AC
LCLPROC_$$_DBGOUT$array_of_const + 12 in section .text of /Volumes/ram_disk/opt/lazarus/lazbuild
(gdb) info line *0x100001787
Line 324 of "lazbuild.lpr" starts at address 0x100001717 <ONIDEMESSAGEDIALOG+95>
   and ends at 0x100001794 <ONIDEMESSAGEDIALOG+220>.
(gdb) info symbol 0x100001787
P$LAZBUILD$_$TLAZBUILDAPPLICATION_$__$$_ONIDEMESSAGEDIALOG$crc1E2F90B6 + 207 in section .text of /Volumes/ram_disk/opt/lazarus/lazbuild
(gdb) info line *0x1001B6FBE
Line 1992 of "../packager/packagesystem.pas" starts at address 0x1001b6fbe <LOADAUTOINSTALLPACKAGES+582> and ends at 0x1001b6fca <PACKAGESYSTEM$_$TLAZPACKAGEGRAPH_$__$$_LOADAUTOINSTALLPACKAGES$TSTRINGLIST+594>.
(gdb) info symbol 0x1001B6FBE
PACKAGESYSTEM$_$TLAZPACKAGEGRAPH_$__$$_LOADAUTOINSTALLPACKAGES$TSTRINGLIST + 582 in section .text of /Volumes/ram_disk/opt/lazarus/lazbuild
(gdb) info line *0x1000027F4
Line 556 of "lazbuild.lpr" starts at address 0x1000027f3 <BUILDLAZARUSIDE+1371> and ends at 0x100002804 <BUILDLAZARUSIDE+1388>.
(gdb) info symbol 0x1000027F4
P$LAZBUILD$_$TLAZBUILDAPPLICATION_$__$$_BUILDLAZARUSIDE$$BOOLEAN + 1372 in section .text of /Volumes/ram_disk/opt/lazarus/lazbuild
(gdb) info line *0x100007208
Line 1422 of "lazbuild.lpr" starts at address 0x100007207 <PARSEPARAMETERS+23> and ends at 0x10000724e <PARSEPARAMETERS+94>.
(gdb) info symbol 0x100007208
P$LAZBUILD$_$TLAZBUILDAPPLICATION_$__$$_PARSEPARAMETERS$$BOOLEAN + 24 in section .text of /Volumes/ram_disk/opt/lazarus/lazbuild
(gdb)

On 10.02.2015 21:16, Martin Frb wrote:
Open the file again in gdb, but do not run it,

For each of the addresses from the trace do

info line  *0x100222C11

should (hopefully return something like)
Line 692 of "../win/sysutils.pp" starts at address 0x428421 <CONVERTERAYEARSTRING+97>
   and ends at 0x428431 <CONVERTERAYEARSTRING+113>.

and also do  (this time no "*")
info symbol 0x100222C11

which might give an anvwer like
FORMS_TSCREEN_$__MONITORFROMRECT$RECT$TMONITORDEFAULTTO$$TMONITOR + 48 in section .text


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to