diff options
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/Makefile.in | 8 | ||||
-rw-r--r-- | gdb/config/powerpc/aix432.mh | 19 | ||||
-rw-r--r-- | gdb/configure.host | 5 |
4 files changed, 40 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a3d2047a6a4..b61a1dade39 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2002-07-30 Kevin Buettner <kevinb@redhat.com> + + * Makefile.in (rs6000-nat.o): Update dependencies. + + From Nicholas Duffek: + * Makefile.in (ALLDEPFILES): Add aix-thread.c. + (aix-thread.o): New rule. + * configure.host (gdb_host): Set to aix432 on AIX 4.3.2+. + * config/powerpc/aix432.mh: New file. + 2002-07-30 Daniel Jacobowitz <drow@mvista.com> * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 1c708523820..d6bdc0b942c 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1215,6 +1215,7 @@ MAKEOVERRIDES= unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET : ALLDEPFILES = a68v-nat.c \ + aix-thread.c \ alpha-nat.c alphabsd-nat.c \ alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \ alpha-osf1-tdep.c alphafbsd-tdep.c \ @@ -1275,6 +1276,10 @@ ALLDEPFILES = a68v-nat.c \ a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \ $(regcache_h) +aix-thread.o: aix-thread.c $(defs_h) $(gdbcore_h) $(gdbthread_h) \ + $(inferior_h) $(target_h) $(regcache_h) $(gdbcmd_h) $(gdb_assert_h) \ + $(ppc_tdep_h) $(language_h) + alpha-nat.o: alpha-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \ $(regcache_h) $(alpha_tdep_h) @@ -2082,7 +2087,8 @@ rom68k-rom.o: rom68k-rom.c $(monitor_h) $(bfd_h) $(gdb_wait_h) $(defs_h) \ rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \ $(gdbcore_h) $(xcoffsolib_h) $(symfile_h) $(objfiles_h) \ - $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) + $(gdb_stabs_h) $(regcache_h) $(arch_utils_h) $(language_h) \ + $(ppc_tdep_h) rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ $(target_h) $(ppc_tdep_h) $(regcache_h) $(value_h) $(parser_defs_h) diff --git a/gdb/config/powerpc/aix432.mh b/gdb/config/powerpc/aix432.mh new file mode 100644 index 00000000000..fc74eb73026 --- /dev/null +++ b/gdb/config/powerpc/aix432.mh @@ -0,0 +1,19 @@ +# Host: IBM PowerPC running AIX 4.3.2+ + +XM_FILE= xm-aix.h + +NAT_FILE= nm-aix.h +NATDEPFILES= aix-thread.o fork-child.o infptrace.o inftarg.o corelow.o \ + rs6000-nat.o xcoffread.o xcoffsolib.o + +# When compiled with cc, for debugging, this argument should be passed. +# We have no idea who our current compiler is though, so we skip it. +# MH_CFLAGS = -bnodelcsect + +# gdb is too big for all of its external symbols to fit in a small TOC +# It looks like the GNU linker doesn't understand the -bbigtoc switch. +# This switch may be needed for some vendor compilers. +# MH_LDFLAGS = -Wl,-bbigtoc + +# pthread debugging support +NAT_CLIBS = -lpthdebug diff --git a/gdb/configure.host b/gdb/configure.host index fcc2d38500f..a61194f7314 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -129,7 +129,10 @@ none-*-*) gdb_host=none ;; ns32k-*-netbsd*) gdb_host=nbsdaout ;; -powerpc-*-aix*) gdb_host=aix ;; +powerpc-*-aix3*) gdb_host=aix ;; +powerpc-*-aix4.[0-2]*) gdb_host=aix ;; +powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;; +powerpc-*-aix*) gdb_host=aix432 ;; powerpc-*-linux*) gdb_host=linux ;; powerpc-*-netbsd*) gdb_host=nbsd ;; |