From: Doug Evans Date: Thu, 12 Sep 2013 22:39:26 +0000 (+0000) Subject: * gdb.python/py-events.py (new_objfile_handler): Remove accidentally X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc59cba6fc377817bff843992c4fee77ce118350;p=binutils-gdb.git * gdb.python/py-events.py (new_objfile_handler): Remove accidentally added code to print event.inferior. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index aa7397e5179..d24e9250777 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-09-12 Doug Evans + + * gdb.python/py-events.py (new_objfile_handler): Remove accidentally + added code to print event.inferior. + 2013-09-11 Jan Kratochvil * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only diff --git a/gdb/testsuite/gdb.python/py-events.py b/gdb/testsuite/gdb.python/py-events.py index 6c6dcda8140..7601ca173c0 100644 --- a/gdb/testsuite/gdb.python/py-events.py +++ b/gdb/testsuite/gdb.python/py-events.py @@ -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."""