From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1551) id E3CAE3830880; Fri, 20 May 2022 19:43:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3CAE3830880 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Pedro Alves To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove "internal" parameter from a couple functions X-Act-Checkin: binutils-gdb X-Git-Author: Pedro Alves X-Git-Refname: refs/heads/master X-Git-Oldrev: ef4848c75f82738c342f978b3a80b83ce1817772 X-Git-Newrev: d837fd813d9c72ea7d06ef839b95857dcf0da811 Message-Id: <20220520194303.E3CAE3830880@sourceware.org> Date: Fri, 20 May 2022 19:43:03 +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, 20 May 2022 19:43:04 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd837fd813d9c= 72ea7d06ef839b95857dcf0da811 commit d837fd813d9c72ea7d06ef839b95857dcf0da811 Author: Pedro Alves Date: Sat May 7 00:07:44 2022 +0100 Remove "internal" parameter from a couple functions =20 None of init_breakpoint_sal, create_breakpoint_sal, and strace_marker_create_breakpoints_sal make use of their "internal" parameter, so remove it. =20 Change-Id: I943f3bb44717ade7a7b7547edf8f3ff3c37da435 Diff: --- gdb/breakpoint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 7008672e784..dd6623dd6b5 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -8305,7 +8305,7 @@ init_breakpoint_sal (base_breakpoint *b, struct gdbar= ch *gdbarch, enum bptype type, enum bpdisp disposition, int thread, int task, int ignore_count, int from_tty, - int enabled, int internal, unsigned flags, + int enabled, unsigned flags, int display_canonical) { int i; @@ -8462,7 +8462,7 @@ create_breakpoint_sal (struct gdbarch *gdbarch, type, disposition, thread, task, ignore_count, from_tty, - enabled, internal, flags, + enabled, flags, display_canonical); =20 install_breakpoint (internal, std::move (b), 0); @@ -12152,7 +12152,7 @@ strace_marker_create_breakpoints_sal (struct gdbarc= h *gdbarch, std::move (extra_string), type_wanted, disposition, thread, task, ignore_count, - from_tty, enabled, internal, flags, + from_tty, enabled, flags, canonical->special_display); /* Given that its possible to have multiple markers with the same string id, if the user is creating a static