* defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro. * gdb-events.c, gdb-events.h: Regenerate. * gdbarch.sh (XMALLOC): Delete macro. * gdbarch.c: Regenerate. * serial.c (XMALLOC): Delete macro. * ui-file.c (XMALLOC): Ditto. * ser-unix.h (XMALLOC): Ditto. * sh-tdep.c (XMALLOC): Ditto. * ui-out.c (XMALLOC): Ditto. * utils.c (XMALLOC): Ditto. * i386-tdep.c (XMALLOC): Ditto. * gdb-events.c (XMALLOC): Ditto. * d10v-tdep.c (XMALLOC): Ditto. * cli-out.c (XMALLOC): Ditto. * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. * ui-file.c, ui-out.c: Ditto.
This commit is contained in:
parent
474c824023
commit
349c5d5f6c
25 changed files with 83 additions and 107 deletions
|
@ -1,3 +1,25 @@
|
||||||
|
2002-03-18 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* defs.h (XMALLOC): Define.
|
||||||
|
* gdb-events.sh (XMALLOC): Delete macro.
|
||||||
|
* gdb-events.c, gdb-events.h: Regenerate.
|
||||||
|
* gdbarch.sh (XMALLOC): Delete macro.
|
||||||
|
* gdbarch.c: Regenerate.
|
||||||
|
* serial.c (XMALLOC): Delete macro.
|
||||||
|
* ui-file.c (XMALLOC): Ditto.
|
||||||
|
* ser-unix.h (XMALLOC): Ditto.
|
||||||
|
* sh-tdep.c (XMALLOC): Ditto.
|
||||||
|
* ui-out.c (XMALLOC): Ditto.
|
||||||
|
* utils.c (XMALLOC): Ditto.
|
||||||
|
* i386-tdep.c (XMALLOC): Ditto.
|
||||||
|
* gdb-events.c (XMALLOC): Ditto.
|
||||||
|
* d10v-tdep.c (XMALLOC): Ditto.
|
||||||
|
* cli-out.c (XMALLOC): Ditto.
|
||||||
|
|
||||||
|
* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
|
||||||
|
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
|
||||||
|
* ui-file.c, ui-out.c: Ditto.
|
||||||
|
|
||||||
2002-03-18 Andrew Cagney <ac131313@redhat.com>
|
2002-03-18 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* command.h (struct cmd_list_element): Add field context.
|
* command.h (struct cmd_list_element): Add field context.
|
||||||
|
|
|
@ -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.
|
Contributed by Cygnus Solutions.
|
||||||
Written by Fernando Nasser for Cygnus.
|
Written by Fernando Nasser for Cygnus.
|
||||||
|
|
||||||
|
@ -26,12 +28,6 @@
|
||||||
#include "gdb_string.h"
|
#include "gdb_string.h"
|
||||||
#include "gdb_assert.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_out_data
|
||||||
{
|
{
|
||||||
struct ui_file *stream;
|
struct ui_file *stream;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/* Target-dependent code for Mitsubishi D10V, for GDB.
|
/* Target-dependent code for Mitsubishi D10V, for GDB.
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
|
||||||
Free Software Foundation, Inc.
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -41,9 +42,6 @@
|
||||||
#include "floatformat.h"
|
#include "floatformat.h"
|
||||||
#include "sim-d10v.h"
|
#include "sim-d10v.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
struct frame_extra_info
|
struct frame_extra_info
|
||||||
{
|
{
|
||||||
CORE_ADDR return_pc;
|
CORE_ADDR return_pc;
|
||||||
|
|
|
@ -840,6 +840,11 @@ extern void xmfree (void *md, void *ptr);
|
||||||
"libiberty.h". */
|
"libiberty.h". */
|
||||||
extern void xfree (void *);
|
extern void xfree (void *);
|
||||||
|
|
||||||
|
/* Utility macro to allocate typed memory. Avoids errors like
|
||||||
|
``struct foo *foo = xmalloc (sizeof bar)'' and ``struct foo *foo =
|
||||||
|
(struct foo *) xmalloc (sizeof bar)''. */
|
||||||
|
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
||||||
|
|
||||||
/* Like asprintf/vasprintf but get an internal_error if the call
|
/* Like asprintf/vasprintf but get an internal_error if the call
|
||||||
fails. */
|
fails. */
|
||||||
extern void xasprintf (char **ret, const char *format, ...) ATTR_FORMAT (printf, 2, 3);
|
extern void xasprintf (char **ret, const char *format, ...) ATTR_FORMAT (printf, 2, 3);
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* User Interface Events.
|
/* User Interface Events.
|
||||||
Copyright 1999, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions.
|
Contributed by Cygnus Solutions.
|
||||||
|
|
||||||
|
@ -38,9 +39,6 @@
|
||||||
#include "gdb-events.h"
|
#include "gdb-events.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
#if WITH_GDB_EVENTS
|
#if WITH_GDB_EVENTS
|
||||||
static struct gdb_events null_event_hooks;
|
static struct gdb_events null_event_hooks;
|
||||||
static struct gdb_events queue_event_hooks;
|
static struct gdb_events queue_event_hooks;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* User Interface Events.
|
/* User Interface Events.
|
||||||
Copyright 1999, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions.
|
Contributed by Cygnus Solutions.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# User Interface Events.
|
# User Interface Events.
|
||||||
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# Contributed by Cygnus Solutions.
|
# Contributed by Cygnus Solutions.
|
||||||
#
|
#
|
||||||
|
@ -113,7 +113,8 @@ copyright ()
|
||||||
{
|
{
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
/* User Interface Events.
|
/* User Interface Events.
|
||||||
Copyright 1999, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions.
|
Contributed by Cygnus Solutions.
|
||||||
|
|
||||||
|
@ -303,9 +304,6 @@ cat <<EOF
|
||||||
#include "gdb-events.h"
|
#include "gdb-events.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
#if WITH_GDB_EVENTS
|
#if WITH_GDB_EVENTS
|
||||||
static struct gdb_events null_event_hooks;
|
static struct gdb_events null_event_hooks;
|
||||||
static struct gdb_events queue_event_hooks;
|
static struct gdb_events queue_event_hooks;
|
||||||
|
|
|
@ -74,13 +74,6 @@ static void init_gdbarch_swap (struct gdbarch *);
|
||||||
static void swapout_gdbarch_swap (struct gdbarch *);
|
static void swapout_gdbarch_swap (struct gdbarch *);
|
||||||
static void swapin_gdbarch_swap (struct gdbarch *);
|
static void swapin_gdbarch_swap (struct gdbarch *);
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#ifndef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Non-zero if we want to trace architecture code. */
|
/* Non-zero if we want to trace architecture code. */
|
||||||
|
|
||||||
#ifndef GDBARCH_DEBUG
|
#ifndef GDBARCH_DEBUG
|
||||||
|
|
|
@ -1212,13 +1212,6 @@ static void init_gdbarch_swap (struct gdbarch *);
|
||||||
static void swapout_gdbarch_swap (struct gdbarch *);
|
static void swapout_gdbarch_swap (struct gdbarch *);
|
||||||
static void swapin_gdbarch_swap (struct gdbarch *);
|
static void swapin_gdbarch_swap (struct gdbarch *);
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#ifndef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Non-zero if we want to trace architecture code. */
|
/* Non-zero if we want to trace architecture code. */
|
||||||
|
|
||||||
#ifndef GDBARCH_DEBUG
|
#ifndef GDBARCH_DEBUG
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* Intel 386 target-dependent stuff.
|
/* Intel 386 target-dependent stuff.
|
||||||
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
|
||||||
1998, 1999, 2000, 2001
|
Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
|
||||||
Free Software Foundation, Inc.
|
1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -40,9 +40,6 @@
|
||||||
|
|
||||||
#include "i386-tdep.h"
|
#include "i386-tdep.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
/* Names of the registers. The first 10 registers match the register
|
/* Names of the registers. The first 10 registers match the register
|
||||||
numbering scheme used by GCC for stabs and DWARF. */
|
numbering scheme used by GCC for stabs and DWARF. */
|
||||||
static char *i386_register_names[] =
|
static char *i386_register_names[] =
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
2002-03-15 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* mi-main.c (XMALLOC): Delete macro.
|
||||||
|
* mi-out.c (XMALLOC): Ditto.
|
||||||
|
* mi-parse.c (XMALLOC): Ditto.
|
||||||
|
* mi-console.c (XMALLOC): Ditto.
|
||||||
|
* mi-cmd-var.c (XMALLOC): Ditto.
|
||||||
|
* mi-cmd-break.c (XMALLOC): Ditto.
|
||||||
|
|
||||||
|
* mi/mi-cmd-var.c, mi/mi-console.c, mi/mi-out.c: Update copyright
|
||||||
|
* mi/mi-parse.c: Ditto.
|
||||||
|
|
||||||
2002-02-24 Andrew Cagney <ac131313@redhat.com>
|
2002-02-24 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
From wiz at danbala:
|
From wiz at danbala:
|
||||||
|
|
|
@ -29,11 +29,6 @@
|
||||||
#include "gdb-events.h"
|
#include "gdb-events.h"
|
||||||
#include "gdb.h"
|
#include "gdb.h"
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
FROM_TTY = 0
|
FROM_TTY = 0
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* MI Command Set - varobj commands.
|
/* MI Command Set - varobj commands.
|
||||||
Copyright 2000 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 2000, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions (a Red Hat company).
|
Contributed by Cygnus Solutions (a Red Hat company).
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -27,11 +29,6 @@
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
|
|
||||||
extern int varobjdebug; /* defined in varobj.c */
|
extern int varobjdebug; /* defined in varobj.c */
|
||||||
|
|
||||||
static int varobj_update_one (struct varobj *var);
|
static int varobj_update_one (struct varobj *var);
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* MI Console code.
|
/* MI Console code.
|
||||||
Copyright 2000, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions (a Red Hat company).
|
Contributed by Cygnus Solutions (a Red Hat company).
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -23,11 +25,6 @@
|
||||||
#include "mi-console.h"
|
#include "mi-console.h"
|
||||||
#include "gdb_string.h"
|
#include "gdb_string.h"
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
|
|
||||||
/* MI-console: send output to std-out but correcty encapsulated */
|
/* MI-console: send output to std-out but correcty encapsulated */
|
||||||
|
|
||||||
static ui_file_fputs_ftype mi_console_file_fputs;
|
static ui_file_fputs_ftype mi_console_file_fputs;
|
||||||
|
|
|
@ -42,11 +42,6 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
FROM_TTY = 0
|
FROM_TTY = 0
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* MI Command Set - output generating routines.
|
/* MI Command Set - output generating routines.
|
||||||
Copyright 2000 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 2000, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions (a Red Hat company).
|
Contributed by Cygnus Solutions (a Red Hat company).
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -23,12 +25,6 @@
|
||||||
#include "ui-out.h"
|
#include "ui-out.h"
|
||||||
#include "mi-out.h"
|
#include "mi-out.h"
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#ifndef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct ui_out_data
|
struct ui_out_data
|
||||||
{
|
{
|
||||||
int suppress_field_separator;
|
int suppress_field_separator;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* MI Command Set - MI parser.
|
/* MI Command Set - MI parser.
|
||||||
Copyright 2000, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions (a Red Hat company).
|
Contributed by Cygnus Solutions (a Red Hat company).
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
@ -26,9 +28,6 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "gdb_string.h"
|
#include "gdb_string.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
mi_parse_argv (char *args, struct mi_parse *parse)
|
mi_parse_argv (char *args, struct mi_parse *parse)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* Serial interface for UN*X file-descriptor based connection.
|
/* Serial interface for UN*X file-descriptor based connection.
|
||||||
Copyright 1999, 2000 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -21,9 +22,6 @@
|
||||||
#ifndef SER_UNIX_H
|
#ifndef SER_UNIX_H
|
||||||
#define SER_UNIX_H
|
#define SER_UNIX_H
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
|
|
||||||
/* Generic UNIX/FD functions */
|
/* Generic UNIX/FD functions */
|
||||||
|
|
||||||
extern int ser_unix_nop_flush_output (struct serial *scb);
|
extern int ser_unix_nop_flush_output (struct serial *scb);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* Generic serial interface routines
|
/* Generic serial interface routines
|
||||||
|
|
||||||
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
Free Software Foundation, Inc.
|
2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -58,9 +58,6 @@ static const char logbase_ascii[] = "ascii";
|
||||||
static const char *logbase_enums[] =
|
static const char *logbase_enums[] =
|
||||||
{logbase_hex, logbase_octal, logbase_ascii, NULL};
|
{logbase_hex, logbase_octal, logbase_ascii, NULL};
|
||||||
static const char *serial_logbase = logbase_ascii;
|
static const char *serial_logbase = logbase_ascii;
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
|
|
||||||
static int serial_current_type = 0;
|
static int serial_current_type = 0;
|
||||||
|
|
|
@ -43,9 +43,6 @@
|
||||||
|
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
void (*sh_show_regs) (void);
|
void (*sh_show_regs) (void);
|
||||||
CORE_ADDR (*skip_prologue_hard_way) (CORE_ADDR);
|
CORE_ADDR (*skip_prologue_hard_way) (CORE_ADDR);
|
||||||
void (*do_pseudo_register) (int);
|
void (*do_pseudo_register) (int);
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2002-03-15 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* tui-out.c (XMALLOC): Delete macro. Update copyright.
|
||||||
|
|
||||||
2002-03-01 Andrew Cagney <ac131313@redhat.com>
|
2002-03-01 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* tui-hooks.c: Add FIXME to explain true/false problem. Update
|
* tui-hooks.c: Add FIXME to explain true/false problem. Update
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* Output generating routines for GDB CLI.
|
/* Output generating routines for GDB CLI.
|
||||||
Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions.
|
Contributed by Cygnus Solutions.
|
||||||
Written by Fernando Nasser for Cygnus.
|
Written by Fernando Nasser for Cygnus.
|
||||||
|
|
||||||
|
@ -26,12 +28,6 @@
|
||||||
#include "gdb_string.h"
|
#include "gdb_string.h"
|
||||||
#include "gdb_assert.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_out_data
|
||||||
{
|
{
|
||||||
struct ui_file *stream;
|
struct ui_file *stream;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* UI_FILE - a generic STDIO like output stream.
|
/* UI_FILE - a generic STDIO like output stream.
|
||||||
Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -24,9 +25,6 @@
|
||||||
#include "ui-file.h"
|
#include "ui-file.h"
|
||||||
#include "gdb_string.h"
|
#include "gdb_string.h"
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
static ui_file_isatty_ftype null_file_isatty;
|
static ui_file_isatty_ftype null_file_isatty;
|
||||||
static ui_file_write_ftype null_file_write;
|
static ui_file_write_ftype null_file_write;
|
||||||
static ui_file_fputs_ftype null_file_fputs;
|
static ui_file_fputs_ftype null_file_fputs;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/* Output generating routines for GDB.
|
/* Output generating routines for GDB.
|
||||||
Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
|
||||||
|
Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions.
|
Contributed by Cygnus Solutions.
|
||||||
Written by Fernando Nasser for Cygnus.
|
Written by Fernando Nasser for Cygnus.
|
||||||
|
|
||||||
|
@ -27,11 +29,6 @@
|
||||||
#include "ui-out.h"
|
#include "ui-out.h"
|
||||||
#include "gdb_assert.h"
|
#include "gdb_assert.h"
|
||||||
|
|
||||||
/* Convenience macro for allocting typesafe memory. */
|
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
|
|
||||||
|
|
||||||
/* table header structures */
|
/* table header structures */
|
||||||
|
|
||||||
struct ui_out_hdr
|
struct ui_out_hdr
|
||||||
|
|
|
@ -87,9 +87,6 @@ extern void free ();
|
||||||
extern char *canonicalize_file_name (const char *);
|
extern char *canonicalize_file_name (const char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef XMALLOC
|
|
||||||
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
|
|
||||||
|
|
||||||
/* readline defines this. */
|
/* readline defines this. */
|
||||||
#undef savestring
|
#undef savestring
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue