aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-out.c')
-rw-r--r--gdb/mi/mi-out.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index ef0a2df..b234bba 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -120,7 +120,7 @@ mi_table_begin (struct ui_out *uiout,
void
mi_table_body (struct ui_out *uiout)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
if (data->suppress_output)
return;
@@ -134,7 +134,7 @@ mi_table_body (struct ui_out *uiout)
void
mi_table_end (struct ui_out *uiout)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
data->suppress_output = 0;
mi_close (uiout, ui_out_type_list); /* body */
@@ -147,7 +147,7 @@ void
mi_table_header (struct ui_out *uiout, int width, enum ui_align alignment,
const char *col_name, const char *colhdr)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
if (data->suppress_output)
return;
@@ -166,7 +166,7 @@ void
mi_begin (struct ui_out *uiout, enum ui_out_type type, int level,
const char *id)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
if (data->suppress_output)
return;
@@ -179,7 +179,7 @@ mi_begin (struct ui_out *uiout, enum ui_out_type type, int level,
void
mi_end (struct ui_out *uiout, enum ui_out_type type, int level)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
if (data->suppress_output)
return;
@@ -194,7 +194,7 @@ mi_field_int (struct ui_out *uiout, int fldno, int width,
enum ui_align alignment, const char *fldname, int value)
{
char buffer[20]; /* FIXME: how many chars long a %d can become? */
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
if (data->suppress_output)
return;
@@ -218,7 +218,7 @@ void
mi_field_string (struct ui_out *uiout, int fldno, int width,
enum ui_align align, const char *fldname, const char *string)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream;
if (data->suppress_output)
@@ -241,7 +241,7 @@ mi_field_fmt (struct ui_out *uiout, int fldno, int width,
enum ui_align align, const char *fldname,
const char *format, va_list args)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream;
if (data->suppress_output)
@@ -282,7 +282,7 @@ mi_wrap_hint (struct ui_out *uiout, char *identstring)
void
mi_flush (struct ui_out *uiout)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream = VEC_last (ui_filep, data->streams);
gdb_flush (stream);
@@ -291,7 +291,7 @@ mi_flush (struct ui_out *uiout)
int
mi_redirect (struct ui_out *uiout, struct ui_file *outstream)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
if (outstream != NULL)
VEC_safe_push (ui_filep, data->streams, outstream);
@@ -308,7 +308,7 @@ mi_redirect (struct ui_out *uiout, struct ui_file *outstream)
static void
field_separator (struct ui_out *uiout)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream = VEC_last (ui_filep, data->streams);
if (data->suppress_field_separator)
@@ -320,7 +320,7 @@ field_separator (struct ui_out *uiout)
static void
mi_open (struct ui_out *uiout, const char *name, enum ui_out_type type)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream = VEC_last (ui_filep, data->streams);
field_separator (uiout);
@@ -343,7 +343,7 @@ mi_open (struct ui_out *uiout, const char *name, enum ui_out_type type)
static void
mi_close (struct ui_out *uiout, enum ui_out_type type)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream = VEC_last (ui_filep, data->streams);
switch (type)
@@ -365,7 +365,7 @@ mi_close (struct ui_out *uiout, enum ui_out_type type)
void
mi_out_buffered (struct ui_out *uiout, char *string)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream = VEC_last (ui_filep, data->streams);
fprintf_unfiltered (stream, "%s", string);
@@ -376,7 +376,7 @@ mi_out_buffered (struct ui_out *uiout, char *string)
void
mi_out_rewind (struct ui_out *uiout)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *stream = VEC_last (ui_filep, data->streams);
ui_file_rewind (stream);
@@ -387,7 +387,7 @@ mi_out_rewind (struct ui_out *uiout)
void
mi_out_put (struct ui_out *uiout, struct ui_file *stream)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
struct ui_file *outstream = VEC_last (ui_filep, data->streams);
ui_file_put (outstream, ui_file_write_for_put, stream);
@@ -399,7 +399,7 @@ mi_out_put (struct ui_out *uiout, struct ui_file *stream)
int
mi_version (struct ui_out *uiout)
{
- mi_out_data *data = ui_out_data (uiout);
+ mi_out_data *data = (mi_out_data *) ui_out_data (uiout);
return data->mi_version;
}
@@ -424,7 +424,7 @@ mi_out_data_ctor (mi_out_data *self, int mi_version, struct ui_file *stream)
static void
mi_out_data_dtor (struct ui_out *ui_out)
{
- mi_out_data *data = ui_out_data (ui_out);
+ mi_out_data *data = (mi_out_data *) ui_out_data (ui_out);
VEC_free (ui_filep, data->streams);
xfree (data);