From dc59cba6fc377817bff843992c4fee77ce118350 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 12 Sep 2013 22:39:26 +0000 Subject: [PATCH] * gdb.python/py-events.py (new_objfile_handler): Remove accidentally added code to print event.inferior. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.python/py-events.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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.""" -- 2.30.2