From 29b0b2512ff436c46a77db39317ff50c4bc93601 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 31 Jan 2017 17:56:36 +0000 Subject: [PATCH] gdb/mi/mi-interp.c: Fix typos gdb/ChangeLog: 2017-01-31 Pedro Alves * mi/mi-interp.c (mi_breakpoint_created, mi_breakpoint_modified): Fix typos. --- gdb/ChangeLog | 5 +++++ gdb/mi/mi-interp.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e3d3560d45..91cde2bc09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-01-31 Pedro Alves + + * mi/mi-interp.c (mi_breakpoint_created, mi_breakpoint_modified): + Fix typos. + 2017-01-31 Pedro Alves * stack.c (print_frame_args): Remove local mem_fileopen stream, diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index e2edbfa6fe..76f4f8ceea 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -900,7 +900,7 @@ mi_breakpoint_created (struct breakpoint *b) /* We want the output from gdb_breakpoint_query to go to mi->event_channel. One approach would be to just call gdb_breakpoint_query, and then use mi_out_put to send the current - content of mi_outout into mi->event_channel. However, that will + content of mi_uiout into mi->event_channel. However, that will break if anything is output to mi_uiout prior to calling the breakpoint_created notifications. So, we use ui_out_redirect. */ @@ -979,7 +979,7 @@ mi_breakpoint_modified (struct breakpoint *b) /* We want the output from gdb_breakpoint_query to go to mi->event_channel. One approach would be to just call gdb_breakpoint_query, and then use mi_out_put to send the current - content of mi_outout into mi->event_channel. However, that will + content of mi_uiout into mi->event_channel. However, that will break if anything is output to mi_uiout prior to calling the breakpoint_created notifications. So, we use ui_out_redirect. */ -- 2.34.1