2004-06-10 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Thu, 10 Jun 2004 18:25:49 +0000 (18:25 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 10 Jun 2004 18:25:49 +0000 (18:25 +0000)
* avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
to generic_use_struct_convention, the default value.

gdb/ChangeLog
gdb/avr-tdep.c

index 8a7cf2c..5144d20 100644 (file)
@@ -1,5 +1,8 @@
 2004-06-10  Andrew Cagney  <cagney@gnu.org>
 
+       * avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
+       to generic_use_struct_convention, the default value.
+
        * mn10300-tdep.c (mn10300_type_align): Call internal_error instead
        of abort.
 
index 2b5db68..eabff9c 100644 (file)
@@ -1292,8 +1292,6 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   set_gdbarch_address_to_pointer (gdbarch, avr_address_to_pointer);
   set_gdbarch_pointer_to_address (gdbarch, avr_pointer_to_address);
 
-  set_gdbarch_use_struct_convention (gdbarch, generic_use_struct_convention);
-
   set_gdbarch_skip_prologue (gdbarch, avr_skip_prologue);
   set_gdbarch_inner_than (gdbarch, core_addr_lessthan);