aboutsummaryrefslogtreecommitdiff
path: root/gdb/ns32k-tdep.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-06-07 19:19:32 +0000
committerJason Molenda <jmolenda@apple.com>1999-06-07 19:19:32 +0000
commitcce74817d9cdf9bdc375a599565105d78e07d167 (patch)
treef4e74e0a12fdbf4c83a80968e59596b207c1d141 /gdb/ns32k-tdep.c
parenteb858bb4315009ca9572ddf795f5734b7c293e13 (diff)
downloadgdb-cce74817d9cdf9bdc375a599565105d78e07d167.zip
gdb-cce74817d9cdf9bdc375a599565105d78e07d167.tar.gz
gdb-cce74817d9cdf9bdc375a599565105d78e07d167.tar.bz2
import gdb-1999-06-07 snapshot
Diffstat (limited to 'gdb/ns32k-tdep.c')
-rw-r--r--gdb/ns32k-tdep.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c
index 7946521..bf5208a 100644
--- a/gdb/ns32k-tdep.c
+++ b/gdb/ns32k-tdep.c
@@ -100,6 +100,12 @@ merlin_frame_num_args (fi)
return numargs;
}
+
+/* Return number of args passed to a frame.
+ Can return -1, meaning no way to tell.
+ Encore's C compiler often reuses same area on stack for args,
+ so this will often not work properly. If the arg names
+ are known, it's likely most of them will be printed. */
int
umax_frame_num_args (fi)
struct frame_info *fi;