summaryrefslogtreecommitdiff
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
commita3cbe4b349d77b98b4f51c0af4481d16e8a903db (patch)
treee0b5e17b506414f945f00a1c3cfcc84a07df9199 /gdb/gdbarch.c
parentcea2a194e4ba92718e1ba78b81454405a9f1a475 (diff)
downloadgdb-a3cbe4b349d77b98b4f51c0af4481d16e8a903db.tar.gz
* 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 1493c00cf83..96f10dd9b6c 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");