Skip to content

Commit bc5237a

Browse files
committed
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
1 parent 42339bc commit bc5237a

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

gdb/ada-typeprint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ print_variant_part (const variant_part &part,
702702
name = "?";
703703
else
704704
{
705-
name = type->field (part.discriminant_index).name ();;
705+
name = type->field (part.discriminant_index).name ();
706706
discr_type = type->field (part.discriminant_index).type ();
707707
}
708708

gdb/fbsd-nat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ fbsd_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo)
24652465
if (ptrace (PT_LWPINFO, pid, (caddr_t) &pl, sizeof pl) == -1)
24662466
return false;
24672467
if (!(pl.pl_flags & PL_FLAG_SI))
2468-
return false;;
2468+
return false;
24692469
*siginfo = pl.pl_siginfo;
24702470
return (true);
24712471
}

gdb/linespec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ linespec_lexer_consume_token (linespec_parser *parser)
10161016
if (*parser->lexer.stream != '\0')
10171017
{
10181018
parser->completion_quote_char = '\0';
1019-
parser->completion_quote_end = NULL;;
1019+
parser->completion_quote_end = NULL;
10201020
}
10211021
}
10221022

gdb/maint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ maintenance_set_command_time_cmd (const char *args, int from_tty,
11681168
{
11691169
warning (_("\
11701170
per-thread run time information not available on this platform"));
1171-
already_warned = true;;
1171+
already_warned = true;
11721172
}
11731173
#endif
11741174
}

gdb/printcmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2394,7 +2394,7 @@ printf_c_string (struct ui_file *stream, const char *format,
23942394
}
23952395
else
23962396
{
2397-
CORE_ADDR tem = value_as_address (value);;
2397+
CORE_ADDR tem = value_as_address (value);
23982398

23992399
if (tem == 0)
24002400
{

gdb/record-btrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2578,7 +2578,7 @@ record_btrace_maybe_mark_async_event
25782578
const std::vector<thread_info *> &no_history)
25792579
{
25802580
bool more_moving = !moving.empty ();
2581-
bool more_no_history = !no_history.empty ();;
2581+
bool more_no_history = !no_history.empty ();
25822582

25832583
if (!more_moving && !more_no_history)
25842584
return;

gdbsupport/poison.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ xnewvar (size_t s)
183183
{
184184
static_assert (IsMallocable<T>::value, "Trying to use XNEWVAR with a \
185185
non-POD data type.");
186-
return XNEWVAR (T, s);;
186+
return XNEWVAR (T, s);
187187
}
188188

189189
#undef XNEWVAR

0 commit comments

Comments
 (0)