From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 5A6A63851A96; Wed, 31 Aug 2022 17:14:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A6A63851A96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661966065; bh=QMykg2FpzA85fU1te2woZsy5pL3H/6ev8A/PEhM8FbA=; h=From:To:Subject:Date:From; b=DEyevkbubtzp+apJazwK7/5AIEeX7CxDCq9iQ6ltkP8/62x7PwU8yqbBed64A3gev l7eE/4dlG5rQYQpOysgqa4h+/9jTJKjuJE3sy9JYsQRBwQ6oXoMxOJl7g8uBjnxOIp SBTvucsn1CW6Z0Wdaj+k1jiJOALDslbh7x/X0Hh4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove the "for moment" comments X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 992aeed80b0a6ef1d60ce01df52f3397c3274f35 X-Git-Newrev: 8dc84baf2e0c52828d3aed0dc88a48866d07818b Message-Id: <20220831171425.5A6A63851A96@sourceware.org> Date: Wed, 31 Aug 2022 17:14:25 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D8dc84baf2e0c= 52828d3aed0dc88a48866d07818b commit 8dc84baf2e0c52828d3aed0dc88a48866d07818b Author: Tom Tromey Date: Thu Aug 11 10:15:36 2022 -0600 Remove the "for moment" comments =20 A few spots setting some gdb output stream variables have a "for moment" comment. These comments aren't useful and I think the moment has passed -- these are permanent now. Diff: --- gdb/event-top.c | 4 ++-- gdb/main.c | 4 ++-- gdb/tui/tui-io.c | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gdb/event-top.c b/gdb/event-top.c index a06221b1b80..a5f24f6a902 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -1338,8 +1338,8 @@ gdb_setup_readline (int editing) gdb_stdout =3D new pager_file (new stdio_file (ui->outstream)); gdb_stderr =3D new stderr_file (ui->errstream); gdb_stdlog =3D new timestamped_file (gdb_stderr); - gdb_stdtarg =3D gdb_stderr; /* for moment */ - gdb_stdtargerr =3D gdb_stderr; /* for moment */ + gdb_stdtarg =3D gdb_stderr; + gdb_stdtargerr =3D gdb_stderr; =20 /* If the input stream is connected to a terminal, turn on editing. However, that is only allowed on the main UI, as we can only have diff --git a/gdb/main.c b/gdb/main.c index 8c97987956b..91fa1966738 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -676,8 +676,8 @@ captured_main_1 (struct captured_main_args *context) main_ui =3D new ui (stdin, stdout, stderr); current_ui =3D main_ui; =20 - gdb_stdtargerr =3D gdb_stderr; /* for moment */ - gdb_stdtargin =3D gdb_stdin; /* for moment */ + gdb_stdtargerr =3D gdb_stderr; + gdb_stdtargin =3D gdb_stdin; =20 if (bfd_init () !=3D BFD_INIT_MAGIC) error (_("fatal error: libbfd ABI mismatch")); diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index deea9b90afc..51f08168a90 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -839,8 +839,8 @@ tui_setup_io (int mode) gdb_stdout =3D tui_stdout; gdb_stderr =3D tui_stderr; gdb_stdlog =3D tui_stdlog; - gdb_stdtarg =3D gdb_stderr; /* for moment */ - gdb_stdtargerr =3D gdb_stderr; /* for moment */ + gdb_stdtarg =3D gdb_stderr; + gdb_stdtargerr =3D gdb_stderr; current_uiout =3D tui_out; =20 /* Save tty for SIGCONT. */ @@ -852,8 +852,8 @@ tui_setup_io (int mode) gdb_stdout =3D tui_old_stdout; gdb_stderr =3D tui_old_stderr; gdb_stdlog =3D tui_old_stdlog; - gdb_stdtarg =3D gdb_stderr; /* for moment */ - gdb_stdtargerr =3D gdb_stderr; /* for moment */ + gdb_stdtarg =3D gdb_stderr; + gdb_stdtargerr =3D gdb_stderr; current_uiout =3D tui_old_uiout; =20 /* Restore readline. */