Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: <gdb-patches@sources.redhat.com>
Subject: [RFA] Initialize new struct data
Date: Thu, 21 Jun 2001 10:10:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0106211004250.29808-100000@makita.cygnus.com> (raw)

Hi,

I think this qualifies as obvious, but I'd rather be safe than sorry.

cli-out.c added a new data member to ui_out_data called "suppress_output".
This new member was left uninitialized in cli_out_new, suppressing all
command output.

Keith

ChangeLog
2001-06-21  Keith Seitz  <keiths@redhat.com>

	* cli-out.c (cli_out_new): Initialize new structure member
	"suppress_output".

Patch
Index: cli-out.c
===================================================================
RCS file: /cvs/src/src/gdb/cli-out.c,v
retrieving revision 1.10
diff -p -u -r1.10 cli-out.c
--- cli-out.c	2001/06/19 20:30:11	1.10
+++ cli-out.c	2001/06/21 17:03:54
@@ -363,6 +363,7 @@ cli_out_new (struct ui_file *stream)

   struct ui_out_data *data = XMALLOC (struct ui_out_data);
   data->stream = stream;
+  data->suppress_output = 0;
   return ui_out_new (&cli_ui_out_impl, data, flags);
 }



             reply	other threads:[~2001-06-21 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-21 10:10 Keith Seitz [this message]
2001-06-21 15:54 ` Keith Seitz
2001-06-22  8:05   ` Andrew Cagney

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=Pine.GSO.4.33.0106211004250.29808-100000@makita.cygnus.com \
    --to=keiths@cygnus.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