This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH RFA] Makefile.in, configure.tgt changes for linux/ppc
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH RFA] Makefile.in, configure.tgt changes for linux/ppc
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Mon, 21 Feb 2000 13:42:05 -0700
Most of the changes below are for linux/ppc. While editing Makefile.in,
I noticed that there were a couple of files which depend on $(language_h)
which is undefined. So I changed these to language.h instead.
I request approval for committing these changes.
* Makefile.in (ppc-linux-nat.o, ppc-linux-tdep.o): New files.
(ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
(m68klinux-nat.o, varobj.o): Depend on language.h, not $(language_h).
* configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
and like targets.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile.in
--- Makefile.in 2000/02/09 08:52:44 1.3
+++ Makefile.in 2000/02/21 20:22:16
@@ -1048,6 +1048,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 2
nindy-share/ttyflush.c nindy-tdep.c \
ns32k-tdep.c ns32km3-nat.c osfsolib.c \
somread.c somsolib.c $(HPREAD_SOURCE) \
+ ppc-linux-nat.c ppc-linux-tdep.c \
procfs.c pyr-tdep.c pyr-xdep.c \
remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \
remote-es.c remote-hms.c remote-mips.c \
@@ -1418,7 +1419,7 @@ m68k-tdep.o: m68k-tdep.c $(defs_h) $(fra
m68kly-nat.o: m68kly-nat.c $(defs_h) $(frame_h) $(inferior_h) target.h
m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
- $(language_h) $(gdbcore_h) $(floatformat_h) target.h
+ $(gdbcore_h) $(floatformat_h) language.h target.h
m88k-nat.o: m88k-nat.c $(defs_h) $(gdbcore_h) $(inferior_h)
@@ -1528,6 +1529,12 @@ ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore
$(inferior_h) $(bfd_h) symfile.h target.h gdb_wait.h $(gdbcmd_h) \
objfiles.h gdb-stabs.h serial.h ocd.h
+ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdbcore_h) $(frame_h) \
+ $(inferior_h) target.h
+
+ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
+ target.h
+
ppcbug-rom.o: ppcbug-rom.c monitor.h $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
$(inferior_h) target.h serial.h terminal.h
@@ -1855,7 +1862,7 @@ gdb-events.o: gdb-events.c gdb-events.h
ui-out.o: ui-out.c $(defs_h) $(ui_out_h) expression.h language.h
cli-out.o: cli-out.c $(defs_h) $(ui_out_h) $(cli_out_h)
varobj.o: varobj.c $(defs_h) $(frame_h) $(value_h) \
- $(language_h) valprint.h varobj.h
+ language.h valprint.h varobj.h
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $<
wrapper.o: wrapper.c $(defs_h) $(frame_h) $(value_h) wrapper.h
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.2
diff -u -p -r1.2 configure.tgt
--- configure.tgt 2000/02/13 01:06:57 1.2
+++ configure.tgt 2000/02/21 20:22:17
@@ -224,7 +224,7 @@ powerpc-*-netware*) gdb_target=ppc-nw
powerpc-*-aix*) gdb_target=aix ;;
powerpcle-*-cygwin*) gdb_target=cygwin ;;
powerpcle-*-solaris*) gdb_target=solaris ;;
-powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf*)
+powerpc-*-eabi* | powerpc-*-sysv* | powerpc-*-elf*)
if test -f ../sim/ppc/Makefile; then
gdb_target=ppc-sim
else
@@ -236,6 +236,7 @@ powerpcle-*-eabi* | powerpcle-*-sysv* |
else
gdb_target=ppcle-eabi
fi ;;
+powerpc-*-linux*) gdb_target=linux ;;
powerpc-*-vxworks*) gdb_target=vxworks ;;
# OBSOLETE pyramid-*-*) gdb_target=pyramid ;;
--
Kevin Buettner
kev@primenet.com, kevinb@redhat.com