aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
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.c
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.c')
-rw-r--r--gdb/gdbarch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 1493c00..96f10dd 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -693,9 +693,8 @@ verify_gdbarch (struct gdbarch *gdbarch)
if ((GDB_MULTI_ARCH >= 2)
&& (gdbarch->extract_return_value == 0))
fprintf_unfiltered (log, "\n\textract_return_value");
- if ((GDB_MULTI_ARCH >= 1)
- && (gdbarch->push_arguments == 0))
- fprintf_unfiltered (log, "\n\tpush_arguments");
+ if (gdbarch->push_arguments == 0)
+ gdbarch->push_arguments = default_push_arguments;
if ((GDB_MULTI_ARCH >= 2)
&& (gdbarch->push_dummy_frame == 0))
fprintf_unfiltered (log, "\n\tpush_dummy_frame");