From e81b7af881a2f2533634f46c1cb4e43930dc3945 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 15 Feb 2013 17:12:29 +0000 Subject: [PATCH] 2013-02-15 Sanimir Agovic * python/py-breakpoint (struct pybp_code): Use int instead of enum type_code. --- gdb/ChangeLog | 5 +++++ gdb/python/py-breakpoint.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * python/py-breakpoint (struct pybp_code): Use int instead of + enum type_code. + 2013-02-15 Pedro Alves Hafiz Abid Qadeer 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. */ -- 2.30.2