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 8a7cf2cf78d2ee95f7cae8ca7ce78b2430650050..5144d2041fc8c5f6c5eee858bb45bc38982ad124 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 2b5db688f886202c4bb6b4e2150b96de96c87e1f..eabff9ca65e364d2c7db78e3cf5f1685d91ad586 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);