projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Makefile.in (acconfig_h): Remove incorrect macro.
[deliverable/binutils-gdb.git]
/
gdb
/
cli-out.c
diff --git
a/gdb/cli-out.c
b/gdb/cli-out.c
index 3e8e482f4d61688959bcd164a16ae7f2d5bc804b..bd079f250bb8eccdbcff469443ee94fd21475b07 100644
(file)
--- a/
gdb/cli-out.c
+++ b/
gdb/cli-out.c
@@
-1,5
+1,7
@@
/* Output generating routines for GDB CLI.
/* Output generating routines for GDB CLI.
- Copyright 1999, 2000 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
+
Contributed by Cygnus Solutions.
Written by Fernando Nasser for Cygnus.
Contributed by Cygnus Solutions.
Written by Fernando Nasser for Cygnus.
@@
-26,12
+28,6
@@
#include "gdb_string.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "gdb_assert.h"
-/* Convenience macro for allocting typesafe memory. */
-
-#ifndef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
-#endif
-
struct ui_out_data
{
struct ui_file *stream;
struct ui_out_data
{
struct ui_file *stream;
@@
-89,7
+85,8
@@
static struct ui_out_impl cli_ui_out_impl =
cli_text,
cli_message,
cli_wrap_hint,
cli_text,
cli_message,
cli_wrap_hint,
- cli_flush
+ cli_flush,
+ 0, /* Does not need MI hacks (i.e. needs CLI hacks). */
};
/* Prototypes for local functions */
};
/* Prototypes for local functions */
@@
-364,6
+361,7
@@
cli_out_new (struct ui_file *stream)
struct ui_out_data *data = XMALLOC (struct ui_out_data);
data->stream = 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);
}
return ui_out_new (&cli_ui_out_impl, data, flags);
}
This page took
0.02686 seconds
and
4
git commands to generate.