2003-04-01 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 1 Apr 2003 23:51:17 +0000 (23:51 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 1 Apr 2003 23:51:17 +0000 (23:51 +0000)
* 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.

gdb/ChangeLog
gdb/config/sparc/tm-sp64.h
gdb/printcmd.c

index 7ff7fd53ec05108c7f28533ff9462991436e13b1..b6f02d81cb38998daf6e73c80c7de3ffc777c9e7 100644 (file)
@@ -1,3 +1,11 @@
+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.
+
 2003-04-01  Andrew Cagney  <cagney@redhat.com>
 
        * Makefile.in (d10v-tdep.o): Update dependencies.
index 0f20c5fc1449e18ea23781d2a888235911ecd44d..a415b8324e4538ae27b6a3e2c63c50b398d28113 100644 (file)
 #define CALL_DUMMY_ADDRESS() entry_point_address()
 #undef  FIX_CALL_DUMMY
 #define FIX_CALL_DUMMY(DUMMYNAME, PC, FUN, NARGS, ARGS, TYPE, GCC_P) 
-#undef  PUSH_RETURN_ADDRESS
-#define PUSH_RETURN_ADDRESS(PC, SP) sparc_at_entry_push_return_address (PC, SP)
+#undef  DEPRECATED_PUSH_RETURN_ADDRESS
+#define DEPRECATED_PUSH_RETURN_ADDRESS(PC, SP) sparc_at_entry_push_return_address (PC, SP)
 extern CORE_ADDR sparc_at_entry_push_return_address (CORE_ADDR pc,
                                                     CORE_ADDR sp);
 
@@ -176,7 +176,7 @@ void sparc_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun,
 
 /* The remainder of these will accept the default definition.  */
 #undef  SIZEOF_CALL_DUMMY_WORDS
-#undef  PUSH_RETURN_ADDRESS
+#undef  DEPRECATED_PUSH_RETURN_ADDRESS
 #undef  CALL_DUMMY_ADDRESS
 #undef  STORE_STRUCT_RETURN
 
index b38968d7751174f076ea8b3dc859c7b1132d8704..ae87bd7fd433d425067c806af09cb7b968a74f25 100644 (file)
@@ -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);
     }