]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb, gdbsupport: fix all `;;` instances
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 May 2025 15:13:08 +0000 (11:13 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 29 May 2025 15:13:08 +0000 (11:13 -0400)
I forgot to fix a `;;` typo when pushing a previous patch.  Fix it, and
fix all the other instances I could find in the code base.

Change-Id: I298f9ffb1a5157925076ef67b439579b1aeeaa2b

gdb/ada-typeprint.c
gdb/fbsd-nat.c
gdb/linespec.c
gdb/maint.c
gdb/printcmd.c
gdb/record-btrace.c
gdbsupport/poison.h

index 404d8fe6297c9db3deffb4886ae6283fbc04042e..defd828934e6e1b5096738bb895871ab9ecd4139 100644 (file)
@@ -702,7 +702,7 @@ print_variant_part (const variant_part &part,
     name = "?";
   else
     {
-      name = type->field (part.discriminant_index).name ();;
+      name = type->field (part.discriminant_index).name ();
       discr_type = type->field (part.discriminant_index).type ();
     }
 
index 71a83860b40cd321c057386151bfd677f002c569..19c4a7b48adda4a056b6f1b1d02d1567e2cf9c27 100644 (file)
@@ -2465,7 +2465,7 @@ fbsd_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo)
   if (ptrace (PT_LWPINFO, pid, (caddr_t) &pl, sizeof pl) == -1)
     return false;
   if (!(pl.pl_flags & PL_FLAG_SI))
-    return false;;
+    return false;
   *siginfo = pl.pl_siginfo;
   return (true);
 }
index 9d6fec81783307d2354fb4091b27386af3cc7080..824afd90983d7e93e6b3d77150ce9285e31c857c 100644 (file)
@@ -1016,7 +1016,7 @@ linespec_lexer_consume_token (linespec_parser *parser)
       if (*parser->lexer.stream != '\0')
        {
          parser->completion_quote_char = '\0';
-         parser->completion_quote_end = NULL;;
+         parser->completion_quote_end = NULL;
        }
     }
 
index 0526fffe24a19a074f2d25c96bc94e72a9ec8f98..e017d05ef41bbdd9e9a466d5a726de733f8b76ee 100644 (file)
@@ -1168,7 +1168,7 @@ maintenance_set_command_time_cmd (const char *args, int from_tty,
     {
       warning (_("\
 per-thread run time information not available on this platform"));
-      already_warned = true;;
+      already_warned = true;
     }
 #endif
 }
index 6659c5a41e52ed177f3bb218201b7649ae52d367..b2df42e50782d731f79e74be1b200a1f813a611d 100644 (file)
@@ -2394,7 +2394,7 @@ printf_c_string (struct ui_file *stream, const char *format,
     }
   else
     {
-      CORE_ADDR tem = value_as_address (value);;
+      CORE_ADDR tem = value_as_address (value);
 
       if (tem == 0)
        {
index 19cd576d0c3b9d169aa260d08e397576bb9709b6..5dd3f1e1ddd7064e4d3da592dd40b190f503d9d5 100644 (file)
@@ -2578,7 +2578,7 @@ record_btrace_maybe_mark_async_event
    const std::vector<thread_info *> &no_history)
 {
   bool more_moving = !moving.empty ();
-  bool more_no_history = !no_history.empty ();;
+  bool more_no_history = !no_history.empty ();
 
   if (!more_moving && !more_no_history)
     return;
index 791a18f28a98648858c6b856bb570a79eb6fd350..a91ee5d1c6b9b8c455677d6c0d870b797a5a5e6d 100644 (file)
@@ -183,7 +183,7 @@ xnewvar (size_t s)
 {
   static_assert (IsMallocable<T>::value, "Trying to use XNEWVAR with a \
 non-POD data type.");
-  return XNEWVAR (T, s);;
+  return XNEWVAR (T, s);
 }
 
 #undef XNEWVAR