<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SamplingProfiler 1.7.0 still hot from the compiler</title>
	<atom:link href="http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/feed/" rel="self" type="application/rss+xml" />
	<link>http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/</link>
	<description>SamplingProfiler, DWS and other Delphi tools</description>
	<lastBuildDate>Fri, 03 Feb 2012 09:15:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Eric</title>
		<link>http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/comment-page-1/#comment-122</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 17 Apr 2009 07:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://delphitools.info/?p=301#comment-122</guid>
		<description>Paul, I created a thread on FreePascal support and copied the comments there!
http://delphitools.info/forums/index.php?topic=13.0
Should be more convenient to keep track of things.</description>
		<content:encoded><![CDATA[<p>Paul, I created a thread on FreePascal support and copied the comments there!<br />
<a href="http://delphitools.info/forums/index.php?topic=13.0" rel="nofollow">http://delphitools.info/forums/index.php?topic=13.0</a><br />
Should be more convenient to keep track of things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Ishenin</title>
		<link>http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/comment-page-1/#comment-121</link>
		<dc:creator>Paul Ishenin</dc:creator>
		<pubDate>Fri, 17 Apr 2009 07:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://delphitools.info/?p=301#comment-121</guid>
		<description>To get map file from FreePascal one need to compile source using -Xm. I never had problems with that.

To get line info you can use next 2 files:
fpc\rtl\inc\lineinfo.pp
fpc\rtl\inc\lnfodwrf.pp

Default debugger format is stubs but it is also possible to compile with dwarf. First file I suppose reads from stabs and the second from dwarf.

Feel free to ask on fpc-pascal/fpc-devel mail list. There fpc devels will answer better about this.</description>
		<content:encoded><![CDATA[<p>To get map file from FreePascal one need to compile source using -Xm. I never had problems with that.</p>
<p>To get line info you can use next 2 files:<br />
fpc\rtl\inc\lineinfo.pp<br />
fpc\rtl\inc\lnfodwrf.pp</p>
<p>Default debugger format is stubs but it is also possible to compile with dwarf. First file I suppose reads from stabs and the second from dwarf.</p>
<p>Feel free to ask on fpc-pascal/fpc-devel mail list. There fpc devels will answer better about this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/comment-page-1/#comment-120</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 16 Apr 2009 05:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://delphitools.info/?p=301#comment-120</guid>
		<description>A while back I tried getting a map file out of FreePascal with no success, IIRC I even asked on the FreePascal (or Lazarus?) forums.
I also had a look at DWARF debug info, but the spec was several hundred pages, so I gave up without trying.
Do you have code available that would parse FreePascal debug info, and provide some minimal functionality, like enumerating the segments, and returning module/unit/procedure/line info from an execution address?

On Linux/OSX, I would guess there are already many profilers that support GDB/DWARF, SamplingProfiler was started to fill a niche (lack of sampling profilers for native Delphi in Windows).</description>
		<content:encoded><![CDATA[<p>A while back I tried getting a map file out of FreePascal with no success, IIRC I even asked on the FreePascal (or Lazarus?) forums.<br />
I also had a look at DWARF debug info, but the spec was several hundred pages, so I gave up without trying.<br />
Do you have code available that would parse FreePascal debug info, and provide some minimal functionality, like enumerating the segments, and returning module/unit/procedure/line info from an execution address?</p>
<p>On Linux/OSX, I would guess there are already many profilers that support GDB/DWARF, SamplingProfiler was started to fill a niche (lack of sampling profilers for native Delphi in Windows).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Ishenin</title>
		<link>http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/comment-page-1/#comment-119</link>
		<dc:creator>Paul Ishenin</dc:creator>
		<pubDate>Wed, 15 Apr 2009 23:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://delphitools.info/?p=301#comment-119</guid>
		<description>Nice. But can look at FreePascal map files? It will be much nicer if your profiler could support them. And btw, if nothing difficult is used in your code it is possible to port your profiler for linux/osx.

If you need some assistance feel free to contact me.</description>
		<content:encoded><![CDATA[<p>Nice. But can look at FreePascal map files? It will be much nicer if your profiler could support them. And btw, if nothing difficult is used in your code it is possible to port your profiler for linux/osx.</p>
<p>If you need some assistance feel free to contact me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K. A.</title>
		<link>http://delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/comment-page-1/#comment-118</link>
		<dc:creator>K. A.</dc:creator>
		<pubDate>Wed, 15 Apr 2009 19:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://delphitools.info/?p=301#comment-118</guid>
		<description>COOL! Thanx a lot...</description>
		<content:encoded><![CDATA[<p>COOL! Thanx a lot&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.delphitools.info/2009/04/15/samplingprofiler-170-still-hot-from-the-compiler/feed/ ) in 0.79113 seconds, on Feb 4th, 2012 at 2:47 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 5th, 2012 at 2:47 pm UTC -->
