aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-event.h
diff options
context:
space:
mode:
authorKevin Pouget <kpouget@sourceware.org>2011-10-04 08:04:13 +0000
committerKevin Pouget <kpouget@sourceware.org>2011-10-04 08:04:13 +0000
commitcb6be26b8b0a1bf6bb4da1eb5841119d73220fd5 (patch)
tree11b0b25089d45ebd5636ac0e8e34ccf094b25dd2 /gdb/python/py-event.h
parent54d2bafcf26d239467a921fb1c37f4a5e12cfdba (diff)
downloadgdb-cb6be26b8b0a1bf6bb4da1eb5841119d73220fd5.zip
gdb-cb6be26b8b0a1bf6bb4da1eb5841119d73220fd5.tar.gz
gdb-cb6be26b8b0a1bf6bb4da1eb5841119d73220fd5.tar.bz2
2011-10-04 Kevin Pouget <kevin.pouget@st.com>
PR python/12691: Add the inferior to Python exited event * python/py-exitedevent.c (create_exited_event_object): Add inferior to exited_event. * python/py-event.h (emit_exited_event): Likewise * python/-inferior.c (python_inferior_exit): Likewise 2011-10-04 Kevin Pouget <kevin.pouget@st.com> PR python/12691: Add the inferior to Python exited event * gdb.python/py-events.exp: Test the inferior attribute of exited event with a fork. * gdb.python/py-events.py: Print inferior number on exit. * gdb.python/py-events.c: Fork the inferior. 2011-10-04 Kevin Pouget <kevin.pouget@st.com> PR python/12691: Add the inferior to Python exited event * gdb.texinfo (Events In Python): Describe exited inferior attribute.
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r--gdb/python/py-event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h
index f4b3ee2..49d7b6a 100644
--- a/gdb/python/py-event.h
+++ b/gdb/python/py-event.h
@@ -104,7 +104,7 @@ typedef struct
} event_object;
extern int emit_continue_event (ptid_t ptid);
-extern int emit_exited_event (const LONGEST *exit_code);
+extern int emit_exited_event (const LONGEST *exit_code, struct inferior *inf);
extern int evpy_emit_event (PyObject *event,
eventregistry_object *registry);