<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Links, not diffs.<BR>
<BR>
- Jay<BR><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
CC: m3devel@elegosoft.com<BR>From: hosking@cs.purdue.edu<BR>To: jayk123@hotmail.com<BR>Subject: Re: [M3devel] put full paths to source files in debug info<BR>Date: Thu, 28 Feb 2008 09:09:14 -0500<BR><BR>
<DIV><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<DIV style="WORD-WRAP: break-word"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate"><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<DIV>No, please don't do that!!!! I hate it when I get a huge file of diffs. The comment should be descriptive enough to let me know if I care about the diffs or not. As an emacs user it is trivial for me to browse diffs there if I *really* care. But e-mail is the *wrong* place for diffs!!</DIV></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></DIV></SPAN></DIV><BR>
<DIV>
<DIV>On Feb 28, 2008, at 4:25 AM, Jay wrote:</DIV><BR class=EC_Apple-interchange-newline>
<BLOCKQUOTE><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<DIV class=EC_hmmessage style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Is it easy enough for the commit mails to contain links to view all of the diffs described?<BR>That's be super duper nice.<BR>I find browsing the cvsweb very inefficient.<BR> <BR> - Jay<BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_EC_stopSpelling>
From:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:jayk123@hotmail.com">jayk123@hotmail.com</A><BR>To:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</A><BR>Subject: FW: put full paths to source files in debug info<BR>Date: Thu, 28 Feb 2008 08:59:47 +0000<BR><BR>truncated again! and possibly misformated..<BR><BR><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_EC_EC_stopSpelling>
From:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:jayk123@hotmail.com">jayk123@hotmail.com</A><BR>To:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</A><BR>Subject: RE: put full paths to source files in debug info<BR>Date: Thu, 28 Feb 2008 08:44:11 +0000<BR><BR>pps: "webinfo" (Reactor?) and assertion failures are affected by this also, but not fully.<BR> <BR>Before you would have gotten:<BR> <BR>***<BR>*** runtime error:<BR>*** <*ASSERT*> failed.<BR>*** file "WaitProcessCygwin.m3", line 16<BR>***<BR> <BR>but now you get:<BR> <BR>***<BR>*** runtime error:<BR>*** <*ASSERT*> failed.<BR>*** file "..\src\thread\WIN32\WaitProcessCygwin.m3", line 16<BR>***<BR><BR>I'd say the realpath call (or whatever the portable Modula-3 library call is) should be moved up to m3front to address these, and the parse.c change undone.<BR> <BR>As well, I believe resolving symlinks is happening too but that wasn't the point, so something instead of realpath might be preferable. Like, just see if the string starts ".\" or "..\", it will almost always start "..\", and if so, prepend current working directory and then workout the dots.<BR> <BR>It may also be reasonable to provide paths to the compiler to remove from the starts of paths, which would likely address the symlink issue, since they are more likely to be nearer the start of the path than the middle or end. As well as partly the privacy/size/same-across-machines issues.<BR> <BR>In any case, I think this easy small change is already very useful progress. Or does everyone else just fill up .gdbinit with dir commands? It seems to me that it shouldn't even that difficult, even if it isn't very difficult.<BR> <BR>Agreed?<BR> <BR> - Jay<BR><BR>
<HR id=EC_EC_EC_EC_stopSpelling>
From:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:jayk123@hotmail.com">jayk123@hotmail.com</A><BR>To:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</A><BR>Subject: re: put full paths to source files in debug info<BR>Date: Thu, 28 Feb 2008 08:31:32 +0000<BR><BR>ps: does anyone care that binaries built from different cvs checkouts, but otherwise identical source, will no longer match, unless perhaps they are "stripped"?<BR> <BR>If so, or if any of the other issues bug people, or any other problem is brought up or discovered, this can be made a command line option. I will always turn it on. :)<BR> <BR> - Jay<BR><BR>
<HR id=EC_EC_EC_EC_stopSpelling>
<BR>> Date: Thu, 28 Feb 2008 09:23:22 +0000<BR>> To:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:m3commit@elegosoft.com">m3commit@elegosoft.com</A><BR>> From:<SPAN class=EC_Apple-converted-space> </SPAN><A href="mailto:jkrell@elego.de">jkrell@elego.de</A><BR>> Subject: [M3commit] CVS Update: cm3<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> CVSROOT: /usr/cvs<BR>> Changes by: jkrell@birch. 08/02/28 09:23:22<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> Modified files:<BR>> cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c<SPAN class=EC_Apple-converted-space> </SPAN><BR>> cm3/m3-sys/m3front/src/misc/: Coverage.m3 Host.i3 Host.m3<SPAN class=EC_Apple-converted-space> </SPAN><BR>> Scanner.m3<SPAN class=EC_Apple-converted-space> </SPAN><BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> Log message:<BR>> put full paths to source files in debug info<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> This has the minor downsides of:<BR>> 1) grows the debug info (it is already huge; who is counting?)<BR>> 2) reveals file system layout in debug info (privacy?)<BR>> 3) does it inhibit debugging files from other people's machines or does gdb dir still work?<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> but definitely makes for a more pleasant debugging experience when<BR>> debugging stuff you have built yourself.<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> The linear searching to see if a name has been allocated a number yet<BR>> will obviously slow way down due to a large increase in common prefixes,<BR>> but that should be a hash table anyway. Linear search is lame.<BR>> (or a trie, but working from the ends of the strings, minus the last one or few<BR>> characters, due to common prefixes as well as common suffixes)<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> Note that both m3front and m3cc changes are needed as m3front has paths<BR>> relative to the current working directory or such.<BR>><SPAN class=EC_Apple-converted-space> </SPAN><BR>> For most packages, you can get by without the m3front change and just prepend<BR>> "../src/" to the path in m3cc, but that doesn't work for hierarchical packages<BR>> such as libm3 and m3core which I am debugging.<BR></BLOCKQUOTE><BR>
<HR>
Need to know the score, the latest news, or you need your HotmailŪ-get your "fix".<SPAN class=EC_Apple-converted-space> </SPAN><A href="http://www.msnmobilefix.com/Default.aspx" target=_blank>Check it out.</A></BLOCKQUOTE><BR>
<HR>
Helping your favorite cause is as easy as instant messaging. You IM, we give.<SPAN class=EC_Apple-converted-space> </SPAN><A href="http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join" target=_blank>Learn more.</A></DIV></SPAN></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><br /><hr />Need to know the score, the latest news, or you need your HotmailŪ-get your "fix". <a href='http://www.msnmobilefix.com/Default.aspx' target='_new'>Check it out.</a></body>
</html>