<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">M3 ids cannot begin with "_".<div><br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><font class="Apple-style-span" color="#0000FF"><font class="Apple-style-span" face="Gill Sans"><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: 'Gill Sans'; "><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: 'Gill Sans'; ">Antony Hosking</span></span></font></font><font class="Apple-style-span" face="Gill Sans"><span class="Apple-style-span" style="font-family: 'Gill Sans'; "><span class="Apple-style-span" style="font-family: 'Gill Sans'; "><span class="Apple-converted-space"> </span>|<span class="Apple-converted-space"> </span></span></span><span class="Apple-style-span" style="font-family: 'Gill Sans'; "><span class="Apple-style-span" style="font-family: 'Gill Sans'; ">Associate Professor</span></span><span class="Apple-style-span" style="font-family: 'Gill Sans'; "><span class="Apple-style-span" style="font-family: 'Gill Sans'; "> | Computer Science | Purdue University</span></span></font></div><div><font class="Apple-style-span" face="GillSans-Light"><span class="Apple-style-span" style="font-family: GillSans-Light; ">305 N. University Street | West Lafayette | IN 47907 | USA</span></font></div><div><font class="Apple-style-span" color="#0000FF" face="Gill Sans"><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: 'Gill Sans'; "><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: 'Gill Sans'; ">Office</span></span></font><font class="Apple-style-span" face="GillSans-Light"><span class="Apple-style-span" style="font-family: GillSans-Light; "><span class="Apple-style-span" style="font-family: GillSans-Light; "> +1 765 494 6001 |<span class="Apple-converted-space"> </span></span></span></font><font class="Apple-style-span" color="#0000FF" face="Gill Sans"><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: 'Gill Sans'; "><span class="Apple-style-span" style="color: rgb(0, 0, 255); font-family: 'Gill Sans'; ">Mobile</span></span></font><font class="Apple-style-span" face="GillSans-Light"><span class="Apple-style-span" style="font-family: GillSans-Light; "><span class="Apple-style-span" style="font-family: GillSans-Light; "><span class="Apple-converted-space"> </span>+1 765 427 5484</span></span></font></div><div><font class="Apple-style-span" face="GillSans-Light"><br class="khtml-block-placeholder"></font></div></span></span></span></span></span></span></span><br class="Apple-interchange-newline"></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 5 Oct 2010, at 15:26, Rodney M. Bates wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><br>Jay K wrote:<br><blockquote type="cite">Hey, look, until August, stock gdb never showed any fields!<br></blockquote><blockquote type="cite">The front does layout, it might tell the backend:<br></blockquote><blockquote type="cite">struct {<br></blockquote><blockquote type="cite">  integer a at offset 4, size 4<br></blockquote><blockquote type="cite">  integer b at offset 12, size 4<br></blockquote><blockquote type="cite">}<br></blockquote><blockquote type="cite">in which case the backend will generate a "gap" field at offset 8, size 4<br></blockquote><blockquote type="cite">I suspect we might not have to generate the fields.<br></blockquote><blockquote type="cite">I'm nervous that the backend might do its own layout and move up b to offset 8 otherwise.<br></blockquote><blockquote type="cite">And there was other code in the backing doing similar.<br></blockquote><blockquote type="cite">We are in complete control of the name.<br></blockquote><blockquote type="cite">If you want we can call it "_m3_padding_for_alignment"<br></blockquote><blockquote type="cite">or "-m3_nothing_to_see_here"<br></blockquote><blockquote type="cite">or "<a href="http://m3.org/faq1.html">http://m3.org/faq1.html</a>" (not sure they have to be valid C identifiers)<br></blockquote><br>I doubt it, but they might need to be valid linker identifiers.  If there is a<br>character that is not legal in Modula-3 identifiers but legal here, it would be nice<br>to use it in generated things like this.  Then a debugger could normally suppress<br>displaying it, yet not be fooled by a Modula-3 programmer's actually declaring, e.g.,<br>_m3gap_8_56 in source code.  There are other places this comes up.<br><br><blockquote type="cite"> - Jay<br></blockquote><blockquote type="cite">----------------------------------------<br></blockquote><blockquote type="cite"><blockquote type="cite">From: <a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Date: Tue, 5 Oct 2010 15:32:30 +0200<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: [M3devel] m3gap.... what is it and what does this mean?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(gdb) p event<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">$1 = {type = 8 '\b', _m3gap_8_56 = {}, window = 0x6924c0, send_event = 0 '\000', _m3gap_136_56 =<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">{}, time = 210453397504, state = 1, keyval = 0, length = 22953024, _m3gap_352_32 = {},<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">string = 0xa , hardware_keycode = 0, group = 0 '\000', _m3gap_472_40 = {}}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">VAR<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">event: Gdk.EventKey;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">EventKey = RECORD<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">type: EventType;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">window: WindowStar;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">send_event: char;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">time: unsigned_long_int;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">state: unsigned_int;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">keyval: unsigned_int;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">length: int;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">string: char_star;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">hardware_keycode: unsigned_short_int;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">group: unsigned_char;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">END;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">also with m3gdb....<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">(m3gdb) p event<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">$1 = {4type = 8 '\b', _m3gap_8_56 = {}, window = 0x0,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">send_event = 0 '\000',<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_m3gap_136_56 = {}, time = 49, state = -937844736,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">keyval = 32616, length = 23801648,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_m3gap_352_32 = {}, string = 0x7f68c839be10 "\001<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">\000", hardware_keycode = 0, group = 0 '\000',<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_m3gap_472_40 = {}}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Dragiša Durić <br></blockquote></blockquote><blockquote type="cite"> <span class="Apple-tab-span" style="white-space:pre">       </span><span class="Apple-tab-span" style="white-space:pre">    </span> <span class="Apple-tab-span" style="white-space:pre">   </span>   <span class="Apple-tab-span" style="white-space:pre">       </span><span class="Apple-tab-span" style="white-space:pre">    </span>  <br></blockquote></div></blockquote></div><br></div></div></body></html>