This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Remove printing of event.inferior from py-events.py


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."""


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]