This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Remove printing of event.inferior from py-events.py
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 12 Sep 2013 15:40:44 -0700
- Subject: [commit] Remove printing of event.inferior from py-events.py
- Authentication-results: sourceware.org; auth=none
Hi.
This change got accidentally committed in an earlier patch.
Committed.
2013-09-12 Doug Evans <dje@google.com>
* gdb.python/py-events.py (new_objfile_handler): Remove accidentally
added code to print event.inferior.
diff -u -p -r1.9 py-events.py
--- gdb.python/py-events.py 4 Sep 2013 23:49:21 -0000 1.9
+++ gdb.python/py-events.py 12 Sep 2013 22:37:47 -0000
@@ -56,7 +56,6 @@ def new_objfile_handler (event):
assert (isinstance (event, gdb.NewObjFileEvent))
print ("event type: new_objfile")
print ("new objfile name: %s" % (event.new_objfile.filename))
- print ("inferior number: %d" % (event.inferior.num))
class test_events (gdb.Command):
"""Test events."""