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
parent6f72df77108f3accd01c98d40fa4342e6f650188 (diff)
downloadgdb-dc59cba6fc377817bff843992c4fee77ce118350.zip
gdb-dc59cba6fc377817bff843992c4fee77ce118350.tar.gz
gdb-dc59cba6fc377817bff843992c4fee77ce118350.tar.bz2
* 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 aa7397e..d24e925 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 6c6dcda..7601ca1 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."""