From b6dcde571e1a230d12fc483ba6d38a1253ab097e Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 21 Jun 2016 01:11:48 +0100 Subject: Make current_ui_out be per UI Similarly to gdb_stdout&co. gdb/ChangeLog: 2016-06-21 Pedro Alves * top.c: Call gen_ret_current_ui_field_ptr for current_uiout. * top.h (struct ui) : New field. * ui-out.c (current_uiout): Delete. * ui-out.h (current_uiout): Delete. (current_ui_current_uiout_ptr): New declaration. (current_uiout): Reimplement as wrapper around current_ui_current_uiout_ptr. --- gdb/top.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index 733580f..2e6cf31 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -100,6 +100,7 @@ gen_ret_current_ui_field_ptr (struct ui_file *, gdb_stdout) gen_ret_current_ui_field_ptr (struct ui_file *, gdb_stdin) gen_ret_current_ui_field_ptr (struct ui_file *, gdb_stderr) gen_ret_current_ui_field_ptr (struct ui_file *, gdb_stdlog) +gen_ret_current_ui_field_ptr (struct ui_out *, current_uiout) /* Initialization file name for gdb. This is host-dependent. */ -- cgit v1.1