public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  gsoc-kayral-python: Reorganize some event object structs.
@ 2009-08-22 13:02 kayral
  0 siblings, 0 replies; only message in thread
From: kayral @ 2009-08-22 13:02 UTC (permalink / raw)
  To: archer-commits

The branch, gsoc-kayral-python has been updated
       via  713204c118bbf07c3d55c6bbe8a4676a74902422 (commit)
      from  24f8fc33af4701ccea273724ddbdc011b689b4c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 713204c118bbf07c3d55c6bbe8a4676a74902422
Author: oguz <oguz@pardus.(none)>
Date:   Sat Aug 22 16:01:31 2009 +0300

    Reorganize some event object structs.

-----------------------------------------------------------------------

Summary of changes:
 gdb/python/python-breakpointstopevent.c |    6 ++++++
 gdb/python/python-continueevent.c       |    5 +++++
 gdb/python/python-exitedevent.c         |    6 ++++++
 gdb/python/python-internal.h            |   27 ---------------------------
 gdb/python/python-signalstopevent.c     |    6 ++++++
 5 files changed, 23 insertions(+), 27 deletions(-)

First 500 lines of diff:
diff --git a/gdb/python/python-breakpointstopevent.c b/gdb/python/python-breakpointstopevent.c
index 1c29764..915ee5e 100644
--- a/gdb/python/python-breakpointstopevent.c
+++ b/gdb/python/python-breakpointstopevent.c
@@ -24,6 +24,12 @@
 
 static PyTypeObject breakpoint_stop_event_object_type;
 
+typedef struct
+{
+  stop_event_object stop_event;
+  breakpoint_object *breakpoint;
+} breakpoint_stop_event_object;
+
 static void
 bp_stop_evpy_dealloc (PyObject *self)
 {
diff --git a/gdb/python/python-continueevent.c b/gdb/python/python-continueevent.c
index 6bbdb42..4ba325a 100644
--- a/gdb/python/python-continueevent.c
+++ b/gdb/python/python-continueevent.c
@@ -24,6 +24,11 @@
 
 static PyTypeObject continue_event_object_type;
 
+typedef struct
+{
+  event_object event;
+} continue_event_object;
+
 static void
 continue_evpy_dealloc (PyObject *self)
 {
diff --git a/gdb/python/python-exitedevent.c b/gdb/python/python-exitedevent.c
index c4be35d..9089a6e 100644
--- a/gdb/python/python-exitedevent.c
+++ b/gdb/python/python-exitedevent.c
@@ -24,6 +24,12 @@
 
 static PyTypeObject exited_event_object_type;
 
+typedef struct
+{
+  event_object event;
+  PyLongObject *exit_code;
+} exited_event_object;
+
 static void
 exit_evpy_dealloc (PyObject *self)
 {
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index 3022b79..b72c59e 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -134,33 +134,6 @@ typedef struct
   PyStringObject *stop_reason;
 } stop_event_object;
 
-/* Used in python-signalstopevent.c */
-typedef struct
-{
-  stop_event_object stop_event;
-  PyStringObject *stop_signal;
-} signal_stop_event_object;
-
-/* Used in python-breakpointstopevent.c */
-typedef struct
-{
-  stop_event_object stop_event;
-  breakpoint_object *breakpoint;
-} breakpoint_stop_event_object;
-
-/* Used in python-continueevent.c */
-typedef struct
-{
-  event_object event;
-} continue_event_object;
-
-/* Used in python-exitedevent.c */
-typedef struct
-{
-  event_object event;
-  PyLongObject *exit_code;
-} exited_event_object;
-
 PyObject *gdbpy_history (PyObject *self, PyObject *args);
 PyObject *gdbpy_breakpoints (PyObject *, PyObject *);
 PyObject *gdbpy_frame_stop_reason_string (PyObject *, PyObject *);
diff --git a/gdb/python/python-signalstopevent.c b/gdb/python/python-signalstopevent.c
index bef6aeb..987d866 100644
--- a/gdb/python/python-signalstopevent.c
+++ b/gdb/python/python-signalstopevent.c
@@ -24,6 +24,12 @@
 
 static PyTypeObject signal_stop_event_object_type;
 
+typedef struct
+{
+  stop_event_object stop_event;
+  PyStringObject *stop_signal;
+} signal_stop_event_object;
+
 static void
 sig_stop_evpy_dealloc (PyObject *self)
 {


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-22 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-22 13:02 [SCM] gsoc-kayral-python: Reorganize some event object structs kayral

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).