This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA [infrun.c]: Add missing initialization for inferior_io_terminal


inferior_io_terminal is never initialized.

Here is the patch.


-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9
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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]