X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fcli-out.c;h=bd079f250bb8eccdbcff469443ee94fd21475b07;hb=e7494ffb7117d0f6291ab03434a7d326a60c4154;hp=42adc798b3d885bb0c19b1e431057bc0da96a94a;hpb=8d2139f30cb6a16072ab84c45a4bdd4497c6322b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/cli-out.c b/gdb/cli-out.c index 42adc798b3..bd079f250b 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -1,5 +1,7 @@ /* 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. @@ -26,12 +28,6 @@ #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; @@ -89,7 +85,8 @@ static struct ui_out_impl cli_ui_out_impl = 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 */