<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Thanks. m3cg -y for full tracing also dumps relevant stuff at the end.<BR>
I'll try m3cgcat too. I should just be able to build/run an NT386 version.<BR>
My C tracing does "prove" the problem is RTHeapInfo, but I still haven't figured out why.<BR>
I've started skimming the code that builds that data...still a ways off from solving this I think.<BR>
I have some suspicion the linker is moving things around that were otherwise correct, but I am far from proving that or fixing it.<BR>
I'd like to first verify that the "m3front" / m3cg output is correct.<BR>
The lack of labels in the as actually is a counter point to the movement theory, hard for linker to get a handle on anything to move around, it's just one blob.<BR>
 <BR>
 - Jay<BR><BR><BR>

<HR id=stopSpelling>
<BR>
> CC: m3devel@elegosoft.com<BR>> From: hosking@cs.purdue.edu<BR>> Subject: Re: [M3devel] more assembly symbols please?<BR>> Date: Sat, 19 Jan 2008 12:33:08 -0500<BR>> To: jayk123@hotmail.com<BR>> <BR>> Take a look at the .mc intermediate code output if you want to see <BR>> that section of the data. There are at least comments. Use m3cgcat - <BR>> binary < x.mc > x.mo to view it (You can run m3cgcat on any other CM3 <BR>> install).<BR>> <BR>> On Jan 19, 2008, at 6:02 AM, Jay wrote:<BR>> <BR>> > Any chance the m3cg output could have, um, some symbols for the <BR>> > global data?<BR>> > It's kind of a pain to decode..<BR>> ><BR>> > The module/import info is ok a lot, lots of runtime links ok.<BR>> > I think the bad one might be RTHeapInfo but I have to decode the <BR>> > very bare of symbols assembly..<BR>> > or comments? Like for record fields?<BR>> > Still thinking of sticking a call out to C code...Even <BR>> > OutputDebugString since RTIO isn't working...<BR>> ><BR>> > I looked through the m3cg --help, didn't find anything.<BR>> ><BR>> > Tony?<BR>> ><BR>> > _MM_RTHeapInfo:<BR>> > 0 .long _L_1+224<BR>> > 4 .long _MM_RTHeapInfo+52<BR>> > 8 .long _MM_RTHeapInfo+308<BR>> > 12,16 .space 8<BR>> > 20 .long _L_1+152<BR>> > 24 .space 4<BR>> > 28 .long _L_1+220<BR>> > 32 .long _L_1+220<BR>> > 36 .long _MM_RTHeapInfo+160<BR>> > 40 .space 4<BR>> > .long _RTHeapInfo_M3<BR>> ><BR>> > I get to count out to 160 bytes from here..:<BR>> ><BR>> > _L_1:<BR>> > 0 .byte 48<BR>> > 1 .byte 49<BR>> > 2 .byte 50<BR>> > 3 .byte 51<BR>> > 4 .byte 52<BR>> > 5 .byte 53<BR>> > 6 .byte 54<BR>> > 7 .byte 55<BR>> > 8 .byte 56<BR>> > 9 .byte 57<BR>> > a .byte 97<BR>> > b .byte 98<BR>> > c .byte 99<BR>> > d .byte 100<BR>> > e .byte 101<BR>> > f .byte 102<BR>> > 10 .long _RTHooks__TextLitInfo<BR>> > 14 .long _RTHooks__TextLitGetChar<BR>> > 18 .long _RTHooks__TextLitGetWideChar<BR>> > 1c .long _RTHooks__TextLitGetChars<BR>> > 20 .long _RTHooks__TextLitGetWideChars<BR>> > 24 .long 2<BR>> > 28 .long _L_1+16<BR>> > 2c .long 7<BR>> > 30 .ascii "shownew"<BR>> > 37 .space 1<BR>> > 38 .long 2<BR>> > 3c .long _L_1+16<BR>> > 40 .long 6<BR>> > 44 .ascii "update"<BR>> > 4a .space 2<BR>> > 4c .ascii "RTHeapInfo_M3"<BR>> > 50 .space 1<BR>> > .ascii "Init"<BR>> > .space 1<BR>> ><BR>> > I'll try the C code..<BR>> ><BR>> > - Jay<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > Connect and share in new ways with Windows Live. Get it now!<BR>> <BR><BR><br /><hr />Shed those extra pounds with MSN and The Biggest Loser! <a href='http://biggestloser.msn.com/' target='_new'>Learn more.</a></body>
</html>