aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/py-breakpoint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2bdab56..d5211b5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
+
+ * python/py-breakpoint (struct pybp_code): Use int instead of
+ enum type_code.
+
2013-02-15 Pedro Alves <pedro@codesourcery.com>
Hafiz Abid Qadeer <abidh@codesourcery.com>
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c
index 078ae16..5e5f9b3 100644
--- a/gdb/python/py-breakpoint.c
+++ b/gdb/python/py-breakpoint.c
@@ -48,7 +48,7 @@ struct pybp_code
/* The name. */
const char *name;
/* The code. */
- enum type_code code;
+ int code;
};
/* Entries related to the type of user set breakpoints. */