<?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: 12. Events</title>
	<atom:link href="http://tromey.com/blog/?feed=rss2&#038;p=696" rel="self" type="application/rss+xml" />
	<link>http://tromey.com/blog/?p=696&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=12-events</link>
	<description></description>
	<lastBuildDate>Wed, 15 May 2013 18:03:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: tom</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157853</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Mon, 06 Feb 2012 14:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157853</guid>
		<description><![CDATA[Why not just put the entire loop in Python?]]></description>
		<content:encoded><![CDATA[<p>Why not just put the entire loop in Python?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sriram adhyapak</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157851</link>
		<dc:creator>sriram adhyapak</dc:creator>
		<pubDate>Sun, 05 Feb 2012 00:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157851</guid>
		<description><![CDATA[Thanks TOM! works in 7.4

Another help needed. Can I use the following in python ...
-----------
gdb.execute(&#039;while (!$myFlagToQuit) \
                     python run_one_stepinto() \
                     end&#039;,False, True)
-----------
I am checking a python var (viz. myFlagToQuit) and want to run one python function (viz. run_one_stepinto) and end the loop.

I am setting the var &quot;myFlagToQuit&quot; within an exit handler.]]></description>
		<content:encoded><![CDATA[<p>Thanks TOM! works in 7.4</p>
<p>Another help needed. Can I use the following in python &#8230;<br />
&#8212;&#8212;&#8212;&#8211;<br />
gdb.execute(&#8216;while (!$myFlagToQuit) \<br />
                     python run_one_stepinto() \<br />
                     end&#8217;,False, True)<br />
&#8212;&#8212;&#8212;&#8211;<br />
I am checking a python var (viz. myFlagToQuit) and want to run one python function (viz. run_one_stepinto) and end the loop.</p>
<p>I am setting the var &#8220;myFlagToQuit&#8221; within an exit handler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157850</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Sat, 04 Feb 2012 20:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157850</guid>
		<description><![CDATA[Events didn&#039;t go in until 7.3]]></description>
		<content:encoded><![CDATA[<p>Events didn&#8217;t go in until 7.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SRIRAM ADHYAPAK</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157849</link>
		<dc:creator>SRIRAM ADHYAPAK</dc:creator>
		<pubDate>Sat, 04 Feb 2012 17:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157849</guid>
		<description><![CDATA[I am using GNU gdb (GDB) 7.1-ubuntu
...
This GDB was configured as &quot;i486-linux-gnu]]></description>
		<content:encoded><![CDATA[<p>I am using GNU gdb (GDB) 7.1-ubuntu<br />
&#8230;<br />
This GDB was configured as &#8220;i486-linux-gnu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157848</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Sat, 04 Feb 2012 02:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157848</guid>
		<description><![CDATA[Your gdb is probably too old.  What version are you using?]]></description>
		<content:encoded><![CDATA[<p>Your gdb is probably too old.  What version are you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sriram adhyapak</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157847</link>
		<dc:creator>sriram adhyapak</dc:creator>
		<pubDate>Sat, 04 Feb 2012 02:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157847</guid>
		<description><![CDATA[I am using python 2.6.5 under ubuntu 10.04

When I place a &quot;gdb.events.exited.connect (exit_handler)&quot; in my code

I get a 
AttributeError: &#039;module&#039; object has no attribute &#039;events&#039;
Error.

what am I missing?]]></description>
		<content:encoded><![CDATA[<p>I am using python 2.6.5 under ubuntu 10.04</p>
<p>When I place a &#8220;gdb.events.exited.connect (exit_handler)&#8221; in my code</p>
<p>I get a<br />
AttributeError: &#8216;module&#8217; object has no attribute &#8216;events&#8217;<br />
Error.</p>
<p>what am I missing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157760</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Sat, 07 Jan 2012 22:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157760</guid>
		<description><![CDATA[Crud, you&#039;re right, I messed that up.

The idea is that all Gtk code should run in its own thread.  I don&#039;t think this is enforced, though, hence my bug.

What I meant was something like (untested):

gdb.events.stop.connect(lambda(event): send_to_gtk(on_stop_event))

... but with on_stop_event suitably defined not to have arguments.]]></description>
		<content:encoded><![CDATA[<p>Crud, you&#8217;re right, I messed that up.</p>
<p>The idea is that all Gtk code should run in its own thread.  I don&#8217;t think this is enforced, though, hence my bug.</p>
<p>What I meant was something like (untested):</p>
<p>gdb.events.stop.connect(lambda(event): send_to_gtk(on_stop_event))</p>
<p>&#8230; but with on_stop_event suitably defined not to have arguments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Tsai</title>
		<link>http://tromey.com/blog/?p=696&#038;cpage=1#comment-157758</link>
		<dc:creator>Scott Tsai</dc:creator>
		<pubDate>Sat, 07 Jan 2012 08:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://tromey.com/blog/?p=696#comment-157758</guid>
		<description><![CDATA[I think you meant to call send_to_gtk(gtk.main_quit) in on_stop_event().]]></description>
		<content:encoded><![CDATA[<p>I think you meant to call send_to_gtk(gtk.main_quit) in on_stop_event().</p>
]]></content:encoded>
	</item>
</channel>
</rss>
