* gdb.python/py-events.py (new_objfile_handler): Remove accidentally

added code to print event.inferior.
This commit is contained in:
Doug Evans 2013-09-12 22:39:26 +00:00
parent 6f72df7710
commit dc59cba6fc
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-09-12 Doug Evans <dje@google.com>
* gdb.python/py-events.py (new_objfile_handler): Remove accidentally
added code to print event.inferior.
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only

View file

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