Remove "internal" parameter from a couple functions
authorPedro Alves <pedro@palves.net>
Fri, 6 May 2022 23:07:44 +0000 (00:07 +0100)
committerPedro Alves <pedro@palves.net>
Fri, 20 May 2022 19:41:00 +0000 (20:41 +0100)
None of init_breakpoint_sal, create_breakpoint_sal, and
strace_marker_create_breakpoints_sal make use of their "internal"
parameter, so remove it.

Change-Id: I943f3bb44717ade7a7b7547edf8f3ff3c37da435

gdb/breakpoint.c

index 7008672e78404aa66b6ad482898d16c82aed08ca..dd6623dd6b5c31a8bdf1c0401daa5bb63a87c844 100644 (file)
@@ -8305,7 +8305,7 @@ init_breakpoint_sal (base_breakpoint *b, struct gdbarch *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);
 
   install_breakpoint (internal, std::move (b), 0);
@@ -12152,7 +12152,7 @@ strace_marker_create_breakpoints_sal (struct gdbarch *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