diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-10 06:08:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-10 06:08:40 +0000 |
commit | 6e6d6484b3ed393707778042c6d8b1b07aa6ab67 (patch) | |
tree | 9fb467b355d49b785ff72378cfde1f585d146f88 /gdb/gdbarch.c | |
parent | c203844d97c1b8ac317a9ef79f06f2261eda6594 (diff) | |
download | gdb-6e6d6484b3ed393707778042c6d8b1b07aa6ab67.zip gdb-6e6d6484b3ed393707778042c6d8b1b07aa6ab67.tar.gz gdb-6e6d6484b3ed393707778042c6d8b1b07aa6ab67.tar.bz2 |
* gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
multi-arch partial.
(PUSH_ARGUMENTS): Switch to using predefault.
* gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 96f10dd..74ea624 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -500,6 +500,7 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->pointer_to_address = unsigned_pointer_to_address; current_gdbarch->address_to_pointer = unsigned_address_to_pointer; current_gdbarch->return_value_on_stack = generic_return_value_on_stack_not; + current_gdbarch->push_arguments = default_push_arguments; current_gdbarch->use_struct_convention = generic_use_struct_convention; current_gdbarch->prologue_frameless_p = generic_prologue_frameless_p; current_gdbarch->breakpoint_from_pc = legacy_breakpoint_from_pc; @@ -693,8 +694,7 @@ verify_gdbarch (struct gdbarch *gdbarch) if ((GDB_MULTI_ARCH >= 2) && (gdbarch->extract_return_value == 0)) fprintf_unfiltered (log, "\n\textract_return_value"); - if (gdbarch->push_arguments == 0) - gdbarch->push_arguments = default_push_arguments; + /* Skip verify of push_arguments, invalid_p == 0 */ if ((GDB_MULTI_ARCH >= 2) && (gdbarch->push_dummy_frame == 0)) fprintf_unfiltered (log, "\n\tpush_dummy_frame"); |