From: Andrew Cagney <ac131313@cygnus.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA [infrun.c]: Add missing initialization for inferior_io_terminal
Date: Fri, 06 Apr 2001 09:14:00 -0000 [thread overview]
Message-ID: <3ACDEB5C.91F0A0BF@cygnus.com> (raw)
In-Reply-To: <3ACDC414.C0C677B2@redhat.com>
Fernando Nasser wrote:
>
> inferior_io_terminal is never initialized.
Shouldn't it be zero anyway?
Andrew
> ------------------------------------------------------------------------
> Index: infcmd.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/infcmd.c,v
> retrieving revision 1.26
> diff -c -p -r1.26 infcmd.c
> *** infcmd.c 2001/03/27 20:36:23 1.26
> --- infcmd.c 2001/04/06 13:27:18
> *************** Register name as argument means describe
> *** 1966,1971 ****
> --- 1966,1972 ----
> add_info ("float", float_info,
> "Print the status of the floating point unit\n");
>
> + inferior_io_terminal = NULL; /* No inferior terminal specified (yet) */
> set_inferior_args (xstrdup ("")); /* Initially no args */
> inferior_environ = make_environ ();
> init_environ (inferior_environ);
prev parent reply other threads:[~2001-04-06 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-06 6:30 Fernando Nasser
2001-04-06 9:14 ` Andrew Cagney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ACDEB5C.91F0A0BF@cygnus.com \
--to=ac131313@cygnus.com \
--cc=fnasser@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox