<?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: Small gdbinit update&#8230;</title>
	<atom:link href="http://reverse.put.as/2009/10/11/small-gdbinit-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/</link>
	<description>Reverse Engineering for fun and pleasure!</description>
	<lastBuildDate>Sat, 04 Feb 2012 02:28:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: fG!</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4582</link>
		<dc:creator>fG!</dc:creator>
		<pubDate>Mon, 30 Nov 2009 04:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4582</guid>
		<description>HEHEHEHEH !!!

I have to find a way to update the gdbinit for x86_64 without creating two different versions. Need to explore that and see if it&#039;s possible since I plan to move to Snow Leopard soon !

Have fun !</description>
		<content:encoded><![CDATA[<p>HEHEHEHEH !!!</p>
<p>I have to find a way to update the gdbinit for x86_64 without creating two different versions. Need to explore that and see if it&#8217;s possible since I plan to move to Snow Leopard soon !</p>
<p>Have fun !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Runa Takashi</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4564</link>
		<dc:creator>Runa Takashi</dc:creator>
		<pubDate>Sun, 29 Nov 2009 18:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4564</guid>
		<description>Nevermind my stupidity!

Forgot to use lipo to extract out the x86_64 / i386.. gdb tried  to run the x86_64 hence all the void in eax, ebx..</description>
		<content:encoded><![CDATA[<p>Nevermind my stupidity!</p>
<p>Forgot to use lipo to extract out the x86_64 / i386.. gdb tried  to run the x86_64 hence all the void in eax, ebx..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Runa Takashi</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4544</link>
		<dc:creator>Runa Takashi</dc:creator>
		<pubDate>Sun, 29 Nov 2009 03:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4544</guid>
		<description>Hey, thanks for the great gdbinit file! It looks real nice.. unfortunately, I have a problem that&#039;s stopping me from using context (and stopping hook-stop from executing context) - I attach here the output I get:

--------------------------------------------------------------------------[regs]
  EAX:Error while running hook_stop:
Value can&#039;t be converted to integer.

(if running context alone, only &quot;Value..&quot; shows)

I&#039;ve tried using it with the original gdb, with your binary gdb and with my compiled (+patched) gdb via darwinbuild.. no avail.

Can you shed some light?</description>
		<content:encoded><![CDATA[<p>Hey, thanks for the great gdbinit file! It looks real nice.. unfortunately, I have a problem that&#8217;s stopping me from using context (and stopping hook-stop from executing context) &#8211; I attach here the output I get:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;[regs]<br />
  EAX:Error while running hook_stop:<br />
Value can&#8217;t be converted to integer.</p>
<p>(if running context alone, only &#8220;Value..&#8221; shows)</p>
<p>I&#8217;ve tried using it with the original gdb, with your binary gdb and with my compiled (+patched) gdb via darwinbuild.. no avail.</p>
<p>Can you shed some light?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fG!</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4077</link>
		<dc:creator>fG!</dc:creator>
		<pubDate>Wed, 21 Oct 2009 14:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4077</guid>
		<description>Excellent work ! Thanks for the feedback :)</description>
		<content:encoded><![CDATA[<p>Excellent work ! Thanks for the feedback <img src='http://reverse.put.as/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SF666</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4076</link>
		<dc:creator>SF666</dc:creator>
		<pubDate>Wed, 21 Oct 2009 10:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4076</guid>
		<description>Hi,

you&#039;re right! Thank you very much.

I followed your instructions (Jan 2009) to compile gdb with darwinbuild. I had to make minor modifications for SnowLeopard. To all whom it may concern:

1.) Build-Target for SnowLeopard 10.6.1 is &quot;10B504&quot;, so change all references from &quot;Build9G55&quot; to &quot;10B504&quot;

# mkdir Build10B504 (this is for Leopard 10.6.1)
# cd Build10B504
# darwinbuild -init 10B504

2)  The &quot;environment-section&quot;

- changed UNAME_RELEASE to &quot;UNAME_RELEASE = 10.0&quot;
- changed RC_RELEASE to &quot;RC_RELEASE = SnowLeopard&quot;
- changed MACOSX_DEPLOYMENT_TARGET to &quot;MACOSX_DEPLOYMENT_TARGET = 10.6&quot;


3) Patching the sources

Following the tutorial, now it&#039;s time to build gdb

# darwinbuild -nochroot gdb

You get an unpatched gdb. All sources are now expanded.

* Patch sources located at /Volumes/Builds/Build10B504/BuildRoot/SourceCache/gdb/gdb-1344

# cd /Volumes/Builds/Build10B504/BuildRoot/SourceCache/gdb/gdb-1344
# patch -p2 &lt; patchfile 

* create source-archive /Volumes/Builds/Build10B504/Sources/gdb-1344.tar.gz 

# cd /Volumes/Builds/Build10B504/BuildRoot/SourceCache/gdb
# tar cfz /Volumes/Builds/Build10B504/Sources/gdb-1344.tar.gz gdb-1344/*

By executing

# darwinbuild -nochroot gdb

you get a patched gdb. Copy this file as described.

SF666</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>you&#8217;re right! Thank you very much.</p>
<p>I followed your instructions (Jan 2009) to compile gdb with darwinbuild. I had to make minor modifications for SnowLeopard. To all whom it may concern:</p>
<p>1.) Build-Target for SnowLeopard 10.6.1 is &#8220;10B504&#8243;, so change all references from &#8220;Build9G55&#8243; to &#8220;10B504&#8243;</p>
<p># mkdir Build10B504 (this is for Leopard 10.6.1)<br />
# cd Build10B504<br />
# darwinbuild -init 10B504</p>
<p>2)  The &#8220;environment-section&#8221;</p>
<p>- changed UNAME_RELEASE to &#8220;UNAME_RELEASE = 10.0&#8243;<br />
- changed RC_RELEASE to &#8220;RC_RELEASE = SnowLeopard&#8221;<br />
- changed MACOSX_DEPLOYMENT_TARGET to &#8220;MACOSX_DEPLOYMENT_TARGET = 10.6&#8243;</p>
<p>3) Patching the sources</p>
<p>Following the tutorial, now it&#8217;s time to build gdb</p>
<p># darwinbuild -nochroot gdb</p>
<p>You get an unpatched gdb. All sources are now expanded.</p>
<p>* Patch sources located at /Volumes/Builds/Build10B504/BuildRoot/SourceCache/gdb/gdb-1344</p>
<p># cd /Volumes/Builds/Build10B504/BuildRoot/SourceCache/gdb/gdb-1344<br />
# patch -p2 &lt; patchfile </p>
<p>* create source-archive /Volumes/Builds/Build10B504/Sources/gdb-1344.tar.gz </p>
<p># cd /Volumes/Builds/Build10B504/BuildRoot/SourceCache/gdb<br />
# tar cfz /Volumes/Builds/Build10B504/Sources/gdb-1344.tar.gz gdb-1344/*</p>
<p>By executing</p>
<p># darwinbuild -nochroot gdb</p>
<p>you get a patched gdb. Copy this file as described.</p>
<p>SF666</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fG!</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4062</link>
		<dc:creator>fG!</dc:creator>
		<pubDate>Mon, 19 Oct 2009 21:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4062</guid>
		<description>Hello,

You should be able to patch without any problems. For what I saw there were no updates on that version, Apple just increased the build number.
Just try to apply the patches and compile it with the method that is in a past article.
I still haven&#039;t upgraded to Snow Leopard so I can&#039;t yet compile a version for it.

fG!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>You should be able to patch without any problems. For what I saw there were no updates on that version, Apple just increased the build number.<br />
Just try to apply the patches and compile it with the method that is in a past article.<br />
I still haven&#8217;t upgraded to Snow Leopard so I can&#8217;t yet compile a version for it.</p>
<p>fG!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SF666</title>
		<link>http://reverse.put.as/2009/10/11/small-gdbinit-update/comment-page-1/#comment-4058</link>
		<dc:creator>SF666</dc:creator>
		<pubDate>Mon, 19 Oct 2009 12:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://reverse.put.as/?p=455#comment-4058</guid>
		<description>Hi there,

thx for the cool &#039;n interesting stuff ... I have snow leopard running and would like to benefit from your gdb/gdbinit patches because i like your &quot;softice&quot; like contex view. However on snow leoprad your compiled binary isn&#039;t working. gdb on 10.6.1 seems to be gdb-1344. Is here any possibility to &quot;port&quot; the patches to this version?

Greets,

SF666</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>thx for the cool &#8216;n interesting stuff &#8230; I have snow leopard running and would like to benefit from your gdb/gdbinit patches because i like your &#8220;softice&#8221; like contex view. However on snow leoprad your compiled binary isn&#8217;t working. gdb on 10.6.1 seems to be gdb-1344. Is here any possibility to &#8220;port&#8221; the patches to this version?</p>
<p>Greets,</p>
<p>SF666</p>
]]></content:encoded>
	</item>
</channel>
</rss>

