aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-10 05:50:34 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-10 05:50:34 +0000
commitc203844d97c1b8ac317a9ef79f06f2261eda6594 (patch)
tree6eb439c857b7b0062345532d84bfc273e5fe2768 /gdb/gdbarch.h
parentb5a2688fa413f2705d4d4bed866c8b11d0dc08d5 (diff)
downloadgdb-c203844d97c1b8ac317a9ef79f06f2261eda6594.zip
gdb-c203844d97c1b8ac317a9ef79f06f2261eda6594.tar.gz
gdb-c203844d97c1b8ac317a9ef79f06f2261eda6594.tar.bz2
* valops.c (PUSH_ARGUMENTS): Delete definition.
* gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch partial. Default to default_push_arguments. * gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index f03882a..7a1fa80 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -1368,6 +1368,11 @@ extern void set_gdbarch_extract_return_value (struct gdbarch *gdbarch, gdbarch_e
#endif
#endif
+/* Default (function) for non- multi-arch platforms. */
+#if (!GDB_MULTI_ARCH) && !defined (PUSH_ARGUMENTS)
+#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) (default_push_arguments (nargs, args, sp, struct_return, struct_addr))
+#endif
+
typedef CORE_ADDR (gdbarch_push_arguments_ftype) (int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr);
extern CORE_ADDR gdbarch_push_arguments (struct gdbarch *gdbarch, int nargs, struct value **args, CORE_ADDR sp, int struct_return, CORE_ADDR struct_addr);
extern void set_gdbarch_push_arguments (struct gdbarch *gdbarch, gdbarch_push_arguments_ftype *push_arguments);