aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r--gdb/python/py-event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h
index 56e53b7..831dd10 100644
--- a/gdb/python/py-event.h
+++ b/gdb/python/py-event.h
@@ -45,13 +45,13 @@ extern int emit_exited_event (const LONGEST *exit_code, struct inferior *inf);
/* For inferior function call events, discriminate whether event is
before or after the call. */
-typedef enum
+enum inferior_call_kind
{
/* Before the call */
INFERIOR_CALL_PRE,
/* after the call */
INFERIOR_CALL_POST,
-} inferior_call_kind;
+};
extern int emit_inferior_call_event (inferior_call_kind kind,
ptid_t thread, CORE_ADDR addr);