This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove duplicate function call in m68hc11-tdep.c
- From: Fred Fish <fnf at ninemoons dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: fnf at redhat dot com
- Date: Thu, 12 Feb 2004 23:12:59 -0700
- Subject: [PATCH] Remove duplicate function call in m68hc11-tdep.c
- Reply-to: fnf at redhat dot com
While looking at how/where set_gdbarch_store_return_value is used I
noticed a duplicate call in m68hc11-tdep.c. Checked in under the
"obvious fix rule".
-Fred
2004-02-12 Fred Fish <fnf@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
set_gdbarch_store_return_value.
Index: m68hc11-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m68hc11-tdep.c,v
retrieving revision 1.98
diff -u -p -r1.98 m68hc11-tdep.c
--- m68hc11-tdep.c 11 Feb 2004 15:40:27 -0000 1.98
+++ m68hc11-tdep.c 13 Feb 2004 06:08:31 -0000
@@ -1551,7 +1551,6 @@ m68hc11_gdbarch_init (struct gdbarch_inf
set_gdbarch_return_value_on_stack (gdbarch, m68hc11_return_value_on_stack);
set_gdbarch_store_return_value (gdbarch, m68hc11_store_return_value);
- set_gdbarch_store_return_value (gdbarch, m68hc11_store_return_value);
set_gdbarch_deprecated_extract_struct_value_address (gdbarch, m68hc11_extract_struct_value_address);
set_gdbarch_use_struct_convention (gdbarch, m68hc11_use_struct_convention);
set_gdbarch_skip_prologue (gdbarch, m68hc11_skip_prologue);