aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-06-01 15:44:41 +0000
committerJason Molenda <jmolenda@apple.com>1999-06-01 15:44:41 +0000
commitac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3 (patch)
tree00ebb9456083a2ad26b6a4e64c40b9b28f570ef4 /gdb/stack.c
parentaa903cfb1b8b2b9d5d5d23364cbf0a31b7c8d29a (diff)
downloadgdb-ac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3.zip
gdb-ac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3.tar.gz
gdb-ac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3.tar.bz2
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 a3f302d..bae4711 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;
}