2004-01-26 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index ebf7f39bc9f98b7bb682a0137c62e67fc75473a7..2de769ed2c6f9964210867aaa7a0c3215919a510 100644 (file)
@@ -1061,6 +1061,9 @@ print_return_value (int struct_return, struct type *value_type)
       /* The return value can be found in the inferior's registers.  */
       value = register_value_being_returned (value_type, stop_registers);
     }
+  /* FIXME: cagney/2004-01-17: When both return_value and
+     extract_returned_value_address are available, should use that to
+     find the address of and then extract the returned value.  */
   /* FIXME: 2003-09-27: When returning from a nested inferior function
      call, it's possible (with no help from the architecture vector)
      to locate and return/print a "struct return" value.  This is just
@@ -1084,9 +1087,9 @@ print_return_value (int struct_return, struct type *value_type)
     }
   else
     {
-      if (EXTRACT_STRUCT_VALUE_ADDRESS_P ())
+      if (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS_P ())
        {
-         CORE_ADDR addr = EXTRACT_STRUCT_VALUE_ADDRESS (stop_registers);
+         CORE_ADDR addr = DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS (stop_registers);
          if (!addr)
            error ("Function return value unknown.");
          value = value_at (value_type, addr, NULL);
This page took 0.040194 seconds and 4 git commands to generate.