diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-11-07 22:42:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-11-07 22:42:29 +0000 |
commit | 56f127518feeed8b7576b176a0d3b0f4ff3d7ca1 (patch) | |
tree | 663acee6e62f4055401bebb5161a7ef16162a187 /gdb/gdbarch.c | |
parent | 2b0f7ef92ee30445837f86ca0149ec6c6c01dc93 (diff) | |
download | gdb-56f127518feeed8b7576b176a0d3b0f4ff3d7ca1.zip gdb-56f127518feeed8b7576b176a0d3b0f4ff3d7ca1.tar.gz gdb-56f127518feeed8b7576b176a0d3b0f4ff3d7ca1.tar.bz2 |
gdbarch.sh provides default for USE_STRUCT_CONVENTION.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 65d18d2..ee4512e 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -486,6 +486,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->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; current_gdbarch->memory_insert_breakpoint = default_memory_insert_breakpoint; @@ -689,9 +690,7 @@ verify_gdbarch (struct gdbarch *gdbarch) && (gdbarch->store_return_value == 0)) fprintf_unfiltered (log, "\n\tstore_return_value"); /* Skip verify of extract_struct_value_address, has predicate */ - if ((GDB_MULTI_ARCH >= 2) - && (gdbarch->use_struct_convention == 0)) - fprintf_unfiltered (log, "\n\tuse_struct_convention"); + /* Skip verify of use_struct_convention, invalid_p == 0 */ if ((GDB_MULTI_ARCH >= 2) && (gdbarch->frame_init_saved_regs == 0)) fprintf_unfiltered (log, "\n\tframe_init_saved_regs"); |