aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-05-25 18:09:09 +0000
committerJason Molenda <jmolenda@apple.com>1999-05-25 18:09:09 +0000
commit392a587b0562bfd8561bc15ad2625a4f49f461f0 (patch)
tree933e0970b7845c901c7ea3e128fa9cb0dcf9fe14 /gdb/stack.c
parent751d21b5b946a4a451552fbac692b14abea3d816 (diff)
downloadgdb-392a587b0562bfd8561bc15ad2625a4f49f461f0.zip
gdb-392a587b0562bfd8561bc15ad2625a4f49f461f0.tar.gz
gdb-392a587b0562bfd8561bc15ad2625a4f49f461f0.tar.bz2
import gdb-1999-05-25 snapshot
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 20a6124..a3f302d 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -318,7 +318,7 @@ print_args_stub (args)
int numargs;
struct print_args_args *p = (struct print_args_args *)args;
- FRAME_NUM_ARGS (numargs, (p->fi));
+ numargs = FRAME_NUM_ARGS (p->fi);
print_frame_args (p->func, p->fi, numargs, gdb_stdout);
return 0;
}
@@ -838,10 +838,8 @@ frame_info (addr_exp, from_tty)
printf_filtered ("\n");
{
- int frameless = 0;
-#ifdef FRAMELESS_FUNCTION_INVOCATION
- FRAMELESS_FUNCTION_INVOCATION (fi, frameless);
-#endif
+ int frameless;
+ frameless = FRAMELESS_FUNCTION_INVOCATION (fi);
if (frameless)
printf_filtered (" (FRAMELESS),");
}
@@ -882,7 +880,7 @@ frame_info (addr_exp, from_tty)
print_address_numeric (arg_list, 1, gdb_stdout);
printf_filtered (",");
- FRAME_NUM_ARGS (numargs, fi);
+ numargs = FRAME_NUM_ARGS (fi);
if (numargs < 0)
puts_filtered (" args: ");
else if (numargs == 0)