diff options
author | Tom Tromey <tromey@redhat.com> | 2011-07-25 15:51:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-07-25 15:51:20 +0000 |
commit | c0a91b2b1432c7ecd7dfb558f9c37b6798b234d0 (patch) | |
tree | fbd8746ffb761ca970fa01096e8378a49792bb85 /gdb/breakpoint.h | |
parent | 6cb9b55b982a63d490e9086772eb201f658d6eb4 (diff) | |
download | gdb-c0a91b2b1432c7ecd7dfb558f9c37b6798b234d0.zip gdb-c0a91b2b1432c7ecd7dfb558f9c37b6798b234d0.tar.gz gdb-c0a91b2b1432c7ecd7dfb558f9c37b6798b234d0.tar.bz2 |
* ada-lang.c (ada_exception_breakpoint_ops): Make return type
const.
(ada_exception_sal): Make 'ops' const.
(ada_decode_exception_location): Likewise.
(ada_decode_assert_location): Likewise.
(catch_assert_command): Update.
(catch_ada_exception_command): Update.
(create_ada_exception_catchpoint): Make 'ops' const.
* breakpoint.c (set_raw_breakpoint_without_location)
(set_raw_breakpoint, momentary_breakpoint_from_master): Make 'ops'
const.
(create_internal_breakpoint): Update.
(init_raw_breakpoint_without_location): Make 'ops' const.
(init_raw_breakpoint, init_catchpoint)
(create_fork_vfork_event_catchpoint)
(create_syscall_event_catchpoint, init_breakpoint_sal)
(create_breakpoint_sal, create_breakpoints_sal)
(create_breakpoint, init_ada_exception_breakpoint): Likewise.
* breakpoint.h (struct breakpoint) <ops>: Now const.
(init_ada_exception_breakpoint, create_breakpoint): Make 'ops'
const.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 58e33d4..9b79e3e 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -533,7 +533,7 @@ extern int target_exact_watchpoints; struct breakpoint { /* Methods associated with this breakpoint. */ - struct breakpoint_ops *ops; + const struct breakpoint_ops *ops; struct breakpoint *next; /* Type of breakpoint. */ @@ -1093,7 +1093,7 @@ extern void struct gdbarch *gdbarch, struct symtab_and_line sal, char *addr_string, - struct breakpoint_ops *ops, + const struct breakpoint_ops *ops, int tempflag, int from_tty); @@ -1110,7 +1110,7 @@ extern int create_breakpoint (struct gdbarch *gdbarch, char *arg, int tempflag, enum bptype wanted_type, int ignore_count, enum auto_boolean pending_break_support, - struct breakpoint_ops *ops, + const struct breakpoint_ops *ops, int from_tty, int enabled, int internal); |