gas/
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index 803ce1ca26f7f0eea3580228a2554fbe118f24de..f4414b91ddaa9fc5db891ffb84258dda435f5d59 100644 (file)
@@ -31,6 +31,7 @@
 #include "osabi.h"
 #include "target-descriptions.h"
 #include "objfiles.h"
+#include "language.h"
 
 #include "version.h"
 
@@ -793,10 +794,14 @@ default_gen_return_address (struct gdbarch *gdbarch,
   error (_("This architecture has no method to collect a return address."));
 }
 
-enum gdb_signal
-default_gdb_signal_from_host (struct gdbarch *gdbarch, int signo)
+int
+default_return_in_first_hidden_param_p (struct gdbarch *gdbarch,
+                                       struct type *type)
 {
-  return gdb_signal_from_host (signo);
+  /* Usually, the return value's address is stored the in the "first hidden"
+     parameter if the return value should be passed by reference, as
+     specified in ABI.  */
+  return language_pass_by_reference (type);
 }
 
 /* */
This page took 0.027664 seconds and 4 git commands to generate.