diff options
author | Doug Evans <xdje42@gmail.com> | 2013-11-28 14:54:32 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2013-11-28 14:54:32 -0800 |
commit | 4cb0213de564968ca92727b581a0e51683d0552e (patch) | |
tree | f4ba357a40354859de5616170a7cf53f70c73324 /gdb/python/python-internal.h | |
parent | d729aae0fd65e6b9b85ac59a42df8f9631bd6daa (diff) | |
download | fsf-binutils-gdb-4cb0213de564968ca92727b581a0e51683d0552e.zip fsf-binutils-gdb-4cb0213de564968ca92727b581a0e51683d0552e.tar.gz fsf-binutils-gdb-4cb0213de564968ca92727b581a0e51683d0552e.tar.bz2 |
Rename breakpoint_object to gdbpy_breakpoint_object.
* breakpoint.h (gdbpy_breakpoint_object): Renamed from
breakpoint_object. All uses updated.
* python/python-internal.h (gdbpy_breakpoint_object): Renamed from
breakpoint_object. All uses updated.
* python.c (*): All uses of breakpoint_object updated.
* python.h (*): All uses of breakpoint_object updated.
* python/py-breakpoint.c (*): All uses of breakpoint_object updated.
* python/py-finishbreakpoint.c (*): Ditto.
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r-- | gdb/python/python-internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 7d8c4ad..16214ef 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -223,7 +223,7 @@ extern PyTypeObject breakpoint_object_type extern PyTypeObject frame_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("frame_object"); -typedef struct breakpoint_object +typedef struct gdbpy_breakpoint_object { PyObject_HEAD @@ -236,7 +236,7 @@ typedef struct breakpoint_object /* 1 is this is a FinishBreakpoint object, 0 otherwise. */ int is_finish_bp; -} breakpoint_object; +} gdbpy_breakpoint_object; /* Require that BREAKPOINT be a valid breakpoint ID; throw a Python exception if it is invalid. */ @@ -263,7 +263,7 @@ typedef struct breakpoint_object /* Variables used to pass information between the Breakpoint constructor and the breakpoint-created hook function. */ -extern breakpoint_object *bppy_pending_object; +extern gdbpy_breakpoint_object *bppy_pending_object; typedef struct @@ -463,8 +463,8 @@ PyObject *gdbpy_get_varobj_pretty_printer (struct value *value); char *gdbpy_get_display_hint (PyObject *printer); PyObject *gdbpy_default_visualizer (PyObject *self, PyObject *args); -void bpfinishpy_pre_stop_hook (struct breakpoint_object *bp_obj); -void bpfinishpy_post_stop_hook (struct breakpoint_object *bp_obj); +void bpfinishpy_pre_stop_hook (struct gdbpy_breakpoint_object *bp_obj); +void bpfinishpy_post_stop_hook (struct gdbpy_breakpoint_object *bp_obj); extern PyObject *gdbpy_doc_cst; extern PyObject *gdbpy_children_cst; |