aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-16 20:05:18 -0700
committerTom Tromey <tom@tromey.com>2022-04-29 16:14:32 -0600
commita678887d09c00cecb9aec39cd15f8c65e603078e (patch)
tree59a9b3db5d5889cc7ba81aeb7a3a739954584977 /gdb/breakpoint.h
parent8613a476b198e67ecd645cf74befe9a0dad255b3 (diff)
downloadfsf-binutils-gdb-a678887d09c00cecb9aec39cd15f8c65e603078e.zip
fsf-binutils-gdb-a678887d09c00cecb9aec39cd15f8c65e603078e.tar.gz
fsf-binutils-gdb-a678887d09c00cecb9aec39cd15f8c65e603078e.tar.bz2
Constify breakpoint_ops
Now that all breakpoint_ops are statically initialized, they can all be made const.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 2d4a89f..94ae706 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1398,7 +1398,7 @@ extern void awatch_command_wrapper (const char *, int, bool);
extern void rwatch_command_wrapper (const char *, int, bool);
extern void tbreak_command (const char *, int);
-extern struct breakpoint_ops base_breakpoint_ops;
+extern const struct breakpoint_ops base_breakpoint_ops;
/* Arguments to pass as context to some catch command handlers. */
#define CATCH_PERMANENT ((void *) (uintptr_t) 0)