This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] s/supress/suppress/ in mi-out
- To: gdb-patches at sources dot redhat dot com
- Subject: [patch] s/supress/suppress/ in mi-out
- From: ac131313 at localhost dot cygnus dot com (Andrew Cagney)
- Date: Mon, 11 Jun 2001 17:53:34 -0400 (EDT)
Just FYI,
Andrew
Mon Jun 11 17:22:25 2001 Andrew Cagney <cagney@b1.cygnus.com>
* mi-out.c: Fix typo. s/supress/suppress/.
Index: mi-out.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-out.c,v
retrieving revision 1.12
diff -p -r1.12 mi-out.c
*** mi-out.c 2001/06/10 01:16:14 1.12
--- mi-out.c 2001/06/11 21:42:08
***************
*** 31,37 ****
struct ui_out_data
{
! int supress_field_separator;
int first_header;
struct ui_file *buffer;
};
--- 31,37 ----
struct ui_out_data
{
! int suppress_field_separator;
int first_header;
struct ui_file *buffer;
};
*************** static void
*** 293,300 ****
field_separator (struct ui_out *uiout)
{
struct ui_out_data *data = ui_out_data (uiout);
! if (data->supress_field_separator)
! data->supress_field_separator = 0;
else
fputc_unfiltered (',', data->buffer);
}
--- 293,300 ----
field_separator (struct ui_out *uiout)
{
struct ui_out_data *data = ui_out_data (uiout);
! if (data->suppress_field_separator)
! data->suppress_field_separator = 0;
else
fputc_unfiltered (',', data->buffer);
}
*************** mi_open (struct ui_out *uiout,
*** 306,312 ****
{
struct ui_out_data *data = ui_out_data (uiout);
field_separator (uiout);
! data->supress_field_separator = 1;
if (name)
fprintf_unfiltered (data->buffer, "%s=", name);
switch (type)
--- 306,312 ----
{
struct ui_out_data *data = ui_out_data (uiout);
field_separator (uiout);
! data->suppress_field_separator = 1;
if (name)
fprintf_unfiltered (data->buffer, "%s=", name);
switch (type)
*************** mi_close (struct ui_out *uiout,
*** 338,344 ****
default:
internal_error (__FILE__, __LINE__, "bad switch");
}
! data->supress_field_separator = 0;
}
/* add a string to the buffer */
--- 338,344 ----
default:
internal_error (__FILE__, __LINE__, "bad switch");
}
! data->suppress_field_separator = 0;
}
/* add a string to the buffer */
*************** mi_out_new (void)
*** 383,389 ****
{
int flags = 0;
struct ui_out_data *data = XMALLOC (struct ui_out_data);
! data->supress_field_separator = 0;
/* FIXME: This code should be using a ``string_file'' and not the
TUI buffer hack. */
data->buffer = mem_fileopen ();
--- 383,389 ----
{
int flags = 0;
struct ui_out_data *data = XMALLOC (struct ui_out_data);
! data->suppress_field_separator = 0;
/* FIXME: This code should be using a ``string_file'' and not the
TUI buffer hack. */
data->buffer = mem_fileopen ();