This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob/avr] Don't set use_struct_convention it it's default
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Jun 2004 14:27:47 -0400
- Subject: [ob/avr] Don't set use_struct_convention it it's default
FYI,
use_struct_convention default value is generic_use_struct_convention so
this assignment is redundant.
committed,
Andrew
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.
Index: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.80
diff -p -u -r1.80 avr-tdep.c
--- avr-tdep.c 7 Jun 2004 02:02:45 -0000 1.80
+++ avr-tdep.c 10 Jun 2004 18:25:16 -0000
@@ -1292,8 +1292,6 @@ avr_gdbarch_init (struct gdbarch_info in
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);