aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/mi/ChangeLog4
-rw-r--r--gdb/mi/mi-out.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index cbff9c7..55ce6a1 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jun 11 17:22:25 2001 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * mi-out.c: Fix typo. s/supress/suppress/.
+
2001-06-09 Andrew Cagney <ac131313@redhat.com>
* mi-out.c (mi_table_end, mi_table_begin, mi_begin, mi_end): Move
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index 71188f2..0e0ac3f 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -31,7 +31,7 @@
struct ui_out_data
{
- int supress_field_separator;
+ int suppress_field_separator;
int first_header;
struct ui_file *buffer;
};
@@ -293,8 +293,8 @@ static void
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;
+ if (data->suppress_field_separator)
+ data->suppress_field_separator = 0;
else
fputc_unfiltered (',', data->buffer);
}
@@ -306,7 +306,7 @@ mi_open (struct ui_out *uiout,
{
struct ui_out_data *data = ui_out_data (uiout);
field_separator (uiout);
- data->supress_field_separator = 1;
+ data->suppress_field_separator = 1;
if (name)
fprintf_unfiltered (data->buffer, "%s=", name);
switch (type)
@@ -338,7 +338,7 @@ mi_close (struct ui_out *uiout,
default:
internal_error (__FILE__, __LINE__, "bad switch");
}
- data->supress_field_separator = 0;
+ data->suppress_field_separator = 0;
}
/* add a string to the buffer */
@@ -383,7 +383,7 @@ mi_out_new (void)
{
int flags = 0;
struct ui_out_data *data = XMALLOC (struct ui_out_data);
- data->supress_field_separator = 0;
+ data->suppress_field_separator = 0;
/* FIXME: This code should be using a ``string_file'' and not the
TUI buffer hack. */
data->buffer = mem_fileopen ();