gdb, gdbsupport: fix all ;; instances

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
This commit is contained in:
Simon Marchi
2025-05-29 11:13:08 -04:00
parent 42339bc4e0
commit bc5237a263
7 changed files with 7 additions and 7 deletions

View File

@@ -702,7 +702,7 @@ print_variant_part (const variant_part &part,
name = "?"; name = "?";
else else
{ {
name = type->field (part.discriminant_index).name ();; name = type->field (part.discriminant_index).name ();
discr_type = type->field (part.discriminant_index).type (); discr_type = type->field (part.discriminant_index).type ();
} }

View 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) if (ptrace (PT_LWPINFO, pid, (caddr_t) &pl, sizeof pl) == -1)
return false; return false;
if (!(pl.pl_flags & PL_FLAG_SI)) if (!(pl.pl_flags & PL_FLAG_SI))
return false;; return false;
*siginfo = pl.pl_siginfo; *siginfo = pl.pl_siginfo;
return (true); return (true);
} }

View File

@@ -1016,7 +1016,7 @@ linespec_lexer_consume_token (linespec_parser *parser)
if (*parser->lexer.stream != '\0') if (*parser->lexer.stream != '\0')
{ {
parser->completion_quote_char = '\0'; parser->completion_quote_char = '\0';
parser->completion_quote_end = NULL;; parser->completion_quote_end = NULL;
} }
} }

View File

@@ -1168,7 +1168,7 @@ maintenance_set_command_time_cmd (const char *args, int from_tty,
{ {
warning (_("\ warning (_("\
per-thread run time information not available on this platform")); per-thread run time information not available on this platform"));
already_warned = true;; already_warned = true;
} }
#endif #endif
} }

View File

@@ -2394,7 +2394,7 @@ printf_c_string (struct ui_file *stream, const char *format,
} }
else else
{ {
CORE_ADDR tem = value_as_address (value);; CORE_ADDR tem = value_as_address (value);
if (tem == 0) if (tem == 0)
{ {

View File

@@ -2578,7 +2578,7 @@ record_btrace_maybe_mark_async_event
const std::vector<thread_info *> &no_history) const std::vector<thread_info *> &no_history)
{ {
bool more_moving = !moving.empty (); 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) if (!more_moving && !more_no_history)
return; return;

View File

@@ -183,7 +183,7 @@ xnewvar (size_t s)
{ {
static_assert (IsMallocable<T>::value, "Trying to use XNEWVAR with a \ static_assert (IsMallocable<T>::value, "Trying to use XNEWVAR with a \
non-POD data type."); non-POD data type.");
return XNEWVAR (T, s);; return XNEWVAR (T, s);
} }
#undef XNEWVAR #undef XNEWVAR