summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-02-15 17:12:29 +0000
committerTom Tromey <tromey@redhat.com>2013-02-15 17:12:29 +0000
commite81b7af881a2f2533634f46c1cb4e43930dc3945 (patch)
tree7a234800d5334c797de8590534310389a2e58acf
parent088f7bb95c7a7c0491039d43970c2ad39ff1d8e1 (diff)
downloadbinutils-gdb-e81b7af881a2f2533634f46c1cb4e43930dc3945.tar.gz
2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
* python/py-breakpoint (struct pybp_code): Use int instead of enum type_code.
-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 2bdab56de17..d5211b50720 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 078ae16bbd2..5e5f9b33a15 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. */