*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / stack.c
index a2b331f029e13decbf80c3abe85255ee265c1512..0a9052f323b5e1022aec883592a88e079903c070 100644 (file)
@@ -1,8 +1,8 @@
 /* Print and select stack frames for GDB, the GNU debugger.
 
    Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
-   1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
-   Foundation, Inc.
+   1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free
+   Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -968,10 +968,6 @@ frame_info (char *addr_exp, int from_tty)
     printf_filtered (" source language %s.\n",
                     language_str (s->language));
 
-#ifdef DEPRECATED_PRINT_EXTRA_FRAME_INFO
-  DEPRECATED_PRINT_EXTRA_FRAME_INFO (fi);
-#endif
-
   {
     /* Address of the argument list for this frame, or 0.  */
     CORE_ADDR arg_list = get_frame_args_address (fi);
@@ -1861,6 +1857,9 @@ return_command (char *retval_exp, int from_tty)
            is discarded, side effects such as "return i++" still
            occure.  */
        return_value = NULL;
+      /* FIXME: cagney/2004-01-17: If the architecture implements both
+         return_value and extract_returned_value_address, should allow
+         "return" to work - don't set return_value to NULL.  */
       else if (!gdbarch_return_value_p (current_gdbarch)
               && (TYPE_CODE (return_type) == TYPE_CODE_STRUCT
                   || TYPE_CODE (return_type) == TYPE_CODE_UNION))
@@ -1930,6 +1929,10 @@ If you continue, the return value that you specified will be ignored.\n";
          STORE_RETURN_VALUE (return_type, current_regcache,
                              VALUE_CONTENTS (return_value));
        }
+      /* FIXME: cagney/2004-01-17: If extract_returned_value_address
+         is available and the function is using
+         RETURN_VALUE_STRUCT_CONVENTION, should use it to find the
+         address of the returned value so that it can be assigned.  */
       else
        {
          gdb_assert (gdbarch_return_value (current_gdbarch, return_type,
This page took 0.023732 seconds and 4 git commands to generate.