This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Remove duplicate include
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sourceware dot org
- Date: Sun, 23 Apr 2006 16:15:17 +0200
- Subject: Remove duplicate include
"reggroups.h" was included twice. Tested on ppc-suse-linux and installed
as obvious.
Andreas.
2006-04-23 Andreas Schwab <schwab@suse.de>
* rs6000-tdep.c: Include "reggroups.h" only once.
* Makefile.in (rs6000-tdep.o): Update dependencies.
Index: gdb/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.810
diff -u -a -p -u -p -a -r1.810 gdb/Makefile.in
--- gdb/Makefile.in 20 Apr 2006 23:18:48 -0000 1.810
+++ gdb/Makefile.in 23 Apr 2006 14:12:29 -0000
@@ -2515,7 +2515,7 @@ rs6000-tdep.o: rs6000-tdep.c $(defs_h) $
$(reggroups_h) $(libbfd_h) $(coff_internal_h) $(libcoff_h) \
$(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) $(solib_svr4_h) \
$(ppc_tdep_h) $(gdb_assert_h) $(dis_asm_h) $(trad_frame_h) \
- $(frame_unwind_h) $(frame_base_h) $(reggroups_h) $(rs6000_tdep_h)
+ $(frame_unwind_h) $(frame_base_h) $(rs6000_tdep_h)
rs6000-aix-tdep.o: rs6000-aix-tdep.c $(defs_h) $(osabi_h) $(rs6000_tdep_h)
s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h) $(inferior_h) \
$(s390_tdep_h) $(target_h) $(linux_nat_h)
Index: gdb/rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.257
diff -u -a -p -u -p -a -r1.257 gdb/rs6000-tdep.c
--- gdb/rs6000-tdep.c 18 Apr 2006 19:20:06 -0000 1.257
+++ gdb/rs6000-tdep.c 23 Apr 2006 14:14:01 -0000
@@ -59,7 +59,6 @@
#include "frame-unwind.h"
#include "frame-base.h"
-#include "reggroups.h"
#include "rs6000-tdep.h"
/* If the kernel has to deliver a signal, it pushes a sigcontext
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."