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 = "?";
else
{
name = type->field (part.discriminant_index).name ();;
name = type->field (part.discriminant_index).name ();
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)
return false;
if (!(pl.pl_flags & PL_FLAG_SI))
return false;;
return false;
*siginfo = pl.pl_siginfo;
return (true);
}

View 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;
}
}

View 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
}

View 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)
{

View 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;

View 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