aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 425429e..397ee04 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2018-12-26 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * target.c (target_terminal::restore_inferior): Remove struct keyword.
+
2018-12-26 Simon Marchi <simon.marchi@ericsson.com>
* build-id.c (build_id_to_debug_bfd): Enhance debug output.
diff --git a/gdb/target.c b/gdb/target.c
index 6c63255..0a6747b 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -393,7 +393,7 @@ target_terminal::restore_inferior (void)
{
scoped_restore_current_inferior restore_inferior;
- for (struct inferior *inf : all_inferiors ())
+ for (::inferior *inf : all_inferiors ())
{
if (inf->terminal_state == target_terminal_state::is_ours_for_output)
{