summaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>2000-02-02 00:21:19 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>2000-02-02 00:21:19 +0000
commited3cebbbd8c84047fa914f111398876cc6e845c2 (patch)
tree57074a05fd2c90fb20318d6b83680988883b9450 /gdb/expprint.c
parent485c0dcc7c141eca8c828f81ee2af335d32c3a8e (diff)
downloadgdb-ed3cebbbd8c84047fa914f111398876cc6e845c2.tar.gz
import gdb-2000-02-01 snapshot
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index c4d578803f8..8c0fe4f736f 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -1,5 +1,5 @@
/* Print in infix form a struct expression.
- Copyright (C) 1986, 1989, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1989, 1991, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -32,13 +32,13 @@
/* Prototypes for local functions */
-static void
-print_subexp PARAMS ((struct expression *, int *, GDB_FILE *, enum precedence));
+static void print_subexp (struct expression *, int *, struct ui_file *,
+ enum precedence);
void
print_expression (exp, stream)
struct expression *exp;
- GDB_FILE *stream;
+ struct ui_file *stream;
{
int pc = 0;
print_subexp (exp, &pc, stream, PREC_NULL);
@@ -53,7 +53,7 @@ static void
print_subexp (exp, pos, stream, prec)
register struct expression *exp;
register int *pos;
- GDB_FILE *stream;
+ struct ui_file *stream;
enum precedence prec;
{
register unsigned tem;
@@ -695,7 +695,7 @@ op_name (opcode)
void
dump_prefix_expression (exp, stream, note)
struct expression *exp;
- GDB_FILE *stream;
+ struct ui_file *stream;
char *note;
{
int elt;
@@ -736,12 +736,12 @@ dump_prefix_expression (exp, stream, note)
}
}
-static int dump_subexp PARAMS ((struct expression * exp, GDB_FILE * stream, int elt));
+static int dump_subexp PARAMS ((struct expression * exp, struct ui_file * stream, int elt));
static int
dump_subexp (exp, stream, elt)
struct expression *exp;
- GDB_FILE *stream;
+ struct ui_file *stream;
int elt;
{
static int indent = 0;
@@ -974,7 +974,7 @@ dump_subexp (exp, stream, elt)
void
dump_postfix_expression (exp, stream, note)
struct expression *exp;
- GDB_FILE *stream;
+ struct ui_file *stream;
char *note;
{
int elt;