diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-16 09:00:21 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-29 16:14:32 -0600 |
commit | 823b50f3857846fe7cd8fb8831a13797903885b8 (patch) | |
tree | b030176fd6e0093c711257276f1f1151d8ef1858 | |
parent | 6d7a8c568bfa0e4b84b3d0ffccaf073d58e3cc4b (diff) | |
download | gdb-823b50f3857846fe7cd8fb8831a13797903885b8.zip gdb-823b50f3857846fe7cd8fb8831a13797903885b8.tar.gz gdb-823b50f3857846fe7cd8fb8831a13797903885b8.tar.bz2 |
Remove bkpt_base_breakpoint_ops
An earlier patch removed the last use of bkpt_base_breakpoint_ops, so
remove the object entirely.
-rw-r--r-- | gdb/breakpoint.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 2c0a2aa..67b9313 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -229,11 +229,6 @@ static bool is_masked_watchpoint (const struct breakpoint *b); static int strace_marker_p (struct breakpoint *b); -/* The breakpoint_ops structure to be inherited by all breakpoint_ops - that are implemented on top of software or hardware breakpoints - (user breakpoints, internal and momentary breakpoints, etc.). */ -static struct breakpoint_ops bkpt_base_breakpoint_ops; - /* Breakpoints set on probes. */ static struct breakpoint_ops bkpt_probe_breakpoint_ops; @@ -14581,12 +14576,6 @@ initialize_breakpoint_ops (void) return; initialized = 1; - /* The breakpoint_ops structure to be inherit by all kinds of - breakpoints (real breakpoints, i.e., user "break" breakpoints, - internal and momentary breakpoints, etc.). */ - ops = &bkpt_base_breakpoint_ops; - *ops = vtable_breakpoint_ops; - /* Probe breakpoints. */ ops = &bkpt_probe_breakpoint_ops; *ops = vtable_breakpoint_ops; |