summaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-01 15:44:41 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-01 15:44:41 +0000
commit32cdd960534de92805b882f7cfa863064f7f6b31 (patch)
treecfa1f6ad34289dd35cdca07c7a23fd030c67385d /gdb/stack.c
parentbd93f96afc89b3f880ed08004bea39c2c49bbc41 (diff)
downloadgdb-32cdd960534de92805b882f7cfa863064f7f6b31.tar.gz
import gdb-1999-06-01 snapshot
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index a3f302dbca0..bae471192f9 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -305,6 +305,7 @@ print_only_stack_frame (fi, level, source)
struct print_args_args {
struct symbol *func;
struct frame_info *fi;
+ GDB_FILE *stream;
};
static int print_args_stub PARAMS ((PTR));
@@ -319,7 +320,7 @@ print_args_stub (args)
struct print_args_args *p = (struct print_args_args *)args;
numargs = FRAME_NUM_ARGS (p->fi);
- print_frame_args (p->func, p->fi, numargs, gdb_stdout);
+ print_frame_args (p->func, p->fi, numargs, p->stream);
return 0;
}
@@ -504,6 +505,7 @@ print_frame_info_base (fi, level, source, args)
struct print_args_args args;
args.fi = fi;
args.func = func;
+ args.stream = gdb_stdout;
catch_errors (print_args_stub, &args, "", RETURN_MASK_ALL);
QUIT;
}