* c-exp.y (enum token_flags): New.
[deliverable/binutils-gdb.git] / gdb / python / py-stopevent.c
index 1ecbe6c9c8463a847b7dc5b27fde626a42eee509..7e0094848dd51fafb7c1cd63a1f854e456bc4c1e 100644 (file)
@@ -1,6 +1,6 @@
 /* Python interface to inferior stop events.
 
-   Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2009-2012 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -42,7 +42,7 @@ create_stop_event_object (PyTypeObject *py_type)
    returns -1.  */
 
 int
-emit_stop_event (struct bpstats *bs, enum target_signal stop_signal)
+emit_stop_event (struct bpstats *bs, enum gdb_signal stop_signal)
 {
   PyObject *stop_event_obj = NULL; /* Appease GCC warning.  */
   PyObject *list = NULL;
@@ -84,8 +84,8 @@ emit_stop_event (struct bpstats *bs, enum target_signal stop_signal)
     }
 
   /* Check if the signal is "Signal 0" or "Trace/breakpoint trap".  */
-  if (stop_signal != TARGET_SIGNAL_0
-      && stop_signal != TARGET_SIGNAL_TRAP)
+  if (stop_signal != GDB_SIGNAL_0
+      && stop_signal != GDB_SIGNAL_TRAP)
     {
       stop_event_obj =
          create_signal_event_object (stop_signal);
This page took 0.055588 seconds and 4 git commands to generate.