aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-09-12 22:39:26 +0000
committerDoug Evans <dje@google.com>2013-09-12 22:39:26 +0000
commitdc59cba6fc377817bff843992c4fee77ce118350 (patch)
treede3d22a04799a1a0643e662aa2d68b25e39b2cde
parent2013-09-12 Chao-ying Fu <Chao-ying.Fu@imgtec.com> (diff)
downloadbinutils-gdb-dc59cba6fc377817bff843992c4fee77ce118350.tar.gz
binutils-gdb-dc59cba6fc377817bff843992c4fee77ce118350.tar.bz2
binutils-gdb-dc59cba6fc377817bff843992c4fee77ce118350.zip
* gdb.python/py-events.py (new_objfile_handler): Remove accidentally
added code to print event.inferior.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-events.py1
2 files changed, 5 insertions, 1 deletions
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 <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
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."""