From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 5C2763858434; Fri, 29 Apr 2022 22:24:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C2763858434 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove bkpt_base_breakpoint_ops X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 6d7a8c568bfa0e4b84b3d0ffccaf073d58e3cc4b X-Git-Newrev: 823b50f3857846fe7cd8fb8831a13797903885b8 Message-Id: <20220429222401.5C2763858434@sourceware.org> Date: Fri, 29 Apr 2022 22:24:01 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2022 22:24:01 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D823b50f38578= 46fe7cd8fb8831a13797903885b8 commit 823b50f3857846fe7cd8fb8831a13797903885b8 Author: Tom Tromey Date: Sun Jan 16 09:00:21 2022 -0700 Remove bkpt_base_breakpoint_ops =20 An earlier patch removed the last use of bkpt_base_breakpoint_ops, so remove the object entirely. Diff: --- gdb/breakpoint.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 2c0a2aac191..67b9313ad83 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -229,11 +229,6 @@ static bool is_masked_watchpoint (const struct breakpo= int *b); =20 static int strace_marker_p (struct breakpoint *b); =20 -/* 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; =20 @@ -14581,12 +14576,6 @@ initialize_breakpoint_ops (void) return; initialized =3D 1; =20 - /* 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 =3D &bkpt_base_breakpoint_ops; - *ops =3D vtable_breakpoint_ops; - /* Probe breakpoints. */ ops =3D &bkpt_probe_breakpoint_ops; *ops =3D vtable_breakpoint_ops;