aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-01 23:51:17 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-01 23:51:17 +0000
commit5e074003706d0bc2bb293de3ab7af7bef6c60b5f (patch)
tree789c5d65dee21870d85766762ffd7a3b99da035c /gdb/printcmd.c
parentc45a316a0b3db99f6013dc771279d543652b088d (diff)
downloadgdb-5e074003706d0bc2bb293de3ab7af7bef6c60b5f.zip
gdb-5e074003706d0bc2bb293de3ab7af7bef6c60b5f.tar.gz
gdb-5e074003706d0bc2bb293de3ab7af7bef6c60b5f.tar.bz2
2003-04-01 Andrew Cagney <cagney@redhat.com>
* printcmd.c (print_frame_nameless_args): Delete #ifdef NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and PRINT_TYPELESS_INTEGER. * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename PUSH_RETURN_ADDRESS.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index b38968d..ae87bd7 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1956,28 +1956,13 @@ print_frame_nameless_args (struct frame_info *fi, long start, int num,
for (i = 0; i < num; i++)
{
QUIT;
-#ifdef NAMELESS_ARG_VALUE
- NAMELESS_ARG_VALUE (fi, start, &arg_value);
-#else
argsaddr = get_frame_args_address (fi);
if (!argsaddr)
return;
-
arg_value = read_memory_integer (argsaddr + start, sizeof (int));
-#endif
-
if (!first)
fprintf_filtered (stream, ", ");
-
-#ifdef PRINT_NAMELESS_INTEGER
- PRINT_NAMELESS_INTEGER (stream, arg_value);
-#else
-#ifdef PRINT_TYPELESS_INTEGER
- PRINT_TYPELESS_INTEGER (stream, builtin_type_int, (LONGEST) arg_value);
-#else
fprintf_filtered (stream, "%ld", arg_value);
-#endif /* PRINT_TYPELESS_INTEGER */
-#endif /* PRINT_NAMELESS_INTEGER */
first = 0;
start += sizeof (int);
}