summaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>2000-02-02 00:21:02 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>2000-02-02 00:21:02 +0000
commit7f21f6e13b66cb5b435e1a90a7c17533084dde60 (patch)
treea94a37b0ec3a190709ac6847a3ea8cd81b857111 /gdb/m2-lang.c
parent92d4623a389a3fda8dedcfc5e53a91c90ac30816 (diff)
downloadgdb-2000-02-01.tar.gz
import gdb-2000-02-01 snapshotgdb-2000-02-01
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index fd13349295a..e1136a7de3e 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -1,5 +1,5 @@
/* Modula 2 language support routines for GDB, the GNU debugger.
- Copyright 1992 Free Software Foundation, Inc.
+ Copyright 1992, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -29,9 +29,11 @@
extern void _initialize_m2_language PARAMS ((void));
static struct type *m2_create_fundamental_type PARAMS ((struct objfile *, int));
-static void m2_printstr PARAMS ((GDB_FILE * stream, char *string, unsigned int length, int width, int force_ellipses));
-static void m2_printchar PARAMS ((int, GDB_FILE *));
-static void m2_emit_char PARAMS ((int, GDB_FILE *, int));
+static void m2_printstr (struct ui_file * stream, char *string,
+ unsigned int length, int width,
+ int force_ellipses);
+static void m2_printchar (int, struct ui_file *);
+static void m2_emit_char (int, struct ui_file *, int);
/* Print the character C on STREAM as part of the contents of a literal
string whose delimiter is QUOTER. Note that that format for printing
@@ -43,7 +45,7 @@ static void m2_emit_char PARAMS ((int, GDB_FILE *, int));
static void
m2_emit_char (c, stream, quoter)
register int c;
- GDB_FILE *stream;
+ struct ui_file *stream;
int quoter;
{
@@ -95,7 +97,7 @@ m2_emit_char (c, stream, quoter)
static void
m2_printchar (c, stream)
int c;
- GDB_FILE *stream;
+ struct ui_file *stream;
{
fputs_filtered ("'", stream);
LA_EMIT_CHAR (c, stream, '\'');
@@ -111,7 +113,7 @@ m2_printchar (c, stream)
static void
m2_printstr (stream, string, length, width, force_ellipses)
- GDB_FILE *stream;
+ struct ui_file *stream;
char *string;
unsigned int length;
int width;