This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[rfc] MAINTAINERS target buildable list and configure.in wind-back


Hello,

This change does two things:

	o	For each ISA it specifies a target
		that is known to build (or failing that
		should probably build)

	o	winds back the -Werror list dropping
		-Wuninitialized.  That is a catch 22.
		Unless -Wuninitialized warnings are
		displayed no one will think of fixing
		them but if you add -Wuninit, GDB
		won't compile with -Werror :-/

It follows through an earlier and very similar patch.  The host/build
was FreeBSD 3.5.x.  From memory, the most common build problem was
attributable to <link.h> being included when it shouldn't.

thoughts?

	Andrew

PS:

awk < "${maintainers}" '
$2 ~ /^--target=.*/ {
    targets = gensub (/--target=/, "", 1, $2)
    split (targets, targ, /,/)
    for (i in targ) {
        print targ[i], $3
    }
}
' | while read target warnings
do
Thu Jan 18 12:08:57 2001  Andrew Cagney  <cagney@b1.cygnus.com>

	* configure.in (build_warnings): Disable -Wuninitialized until GDB
 	compiles with -Wuninitialized,-Werror.
	* configure: Regenerate.

	* MAINTAINERS: Add list of targets.

Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.62
diff -p -r1.62 MAINTAINERS
*** MAINTAINERS	2001/01/16 22:45:48	1.62
--- MAINTAINERS	2001/01/18 11:55:29
*************** variants.  *-tdep.c. The Target/Architec
*** 34,102 ****
  host maintainer when resolving build issues.  The Target/Architecture
  maintainer works with the native maintainer when resolving API issues.
  
! 	a29k		maintenance only (a29k-amd-udi -Werror)
! 	alpha		maintenance only (alpha-dec-osf4.0a)
! 	arc		maintenance only (arc-elf)
  
! 	arm		Fernando Nasser		fnasser@cygnus.com
  			Jim Ingham		jingham@apple.com
  			Scott Bambrough		scottb@netwinder.org
  
  	convex		OBSOLETE
  
! 	d10v		Andrew Cagney		cagney@cygnus.com
  
! 	d30v		David Taylor		taylor@cygnus.com
  
! 	djgpp		(see native and host)
  
! 	fr30		maintenance only (fr30-elf)
! 	h8300		maintenance only (h8300hms)
! 	h8500		maintenance only (h8500hms)
  
! 	i386		Mark Kettenis           kettenis@gnu.org
  
! 	i960		maintenance only (i960-coff)
  
! 	ia64		Kevin Buettner		kevinb@cygnus.com
! 	m32r		Michael Snyder		msnyder@cygnus.com
  
! 	m68hc11		Stephane Carrez		Stephane.Carrez@worldnet.fr
  
! 	m68k		maintenance only (m68k-aout, m68k-coff, m68k-elf)
! 	m88k		maintenance only (?)
! 	mcore		maintenance only (?)
  
! 	mips		Andrew Cagney		cagney@cygnus.com
  
! 	mn10200		maintenance only (mn10200-elf)
  
! 	mn10300		Andrew Cagney		cagney@cygnus.com
  
! 	ns32k		maintenance only (?)
  
! 	pa		Jeff Law		law@cygnus.com
  
! 	powerpc		Kevin Buettner		kevinb@cygnus.com
  			Nick Duffek		nsd@cygnus.com
  
  	pyramid		OBSOLETE
  
! 	romp		maintenance only (?)
  
! 	rs6000		(see rs6000 native and ppc target)
  
! 	sh		Elena Zannoni		ezannoni@cygnus.com
  
! 	sparc		David Taylor		taylor@cygnus.com
  
  	tahoe		OBSOLETE
  
! 	tic80		maintenance only (tic80-coff)
! 	v850		maintenance only (v850-elf)
! 	vax		maintenance only (vax-dec-vms5.5)
! 	w65		maintenance only (?)
! 	z8k		maintenance only (?)
  
  All maintainers can make arbitrary changes to OBSOLETE targets.
  
--- 34,146 ----
  host maintainer when resolving build issues.  The Target/Architecture
  maintainer works with the native maintainer when resolving API issues.
  
! 	a29k		--target=a29k-amd-udi -Werror
! 			Maintenance only
  
! 	alpha		--target=alpha-dec-osf4.0a -Werror
! 			Maintenance only
! 
! 	arc		--target=arc-elf ,-Werror
! 			Maintenance only
! 
! 	arm		--target=arm-coff,arm-elf,arm-pe ,-Werror
! 			Fernando Nasser		fnasser@cygnus.com
  			Jim Ingham		jingham@apple.com
  			Scott Bambrough		scottb@netwinder.org
  
  	convex		OBSOLETE
+ 
+ 	d10v		--target=d10v-elf ,-Werror
+ 			Andrew Cagney		cagney@cygnus.com
+ 
+ 	d30v		--target=d30v-elf ,-Werror
+ 			David Taylor		taylor@cygnus.com
+ 
+ 	djgpp		--target=i586-pc-msdosdjgpp ,-Werror
+ 			(See native and host)
+ 
+ 	fr30		--target=fr30-elf -Werror
+ 			Maintenance only
  
! 	h8300		--target=h8300hms -Werror
! 			Maintenance only
  
! 	h8500		--target=h8500hms -Werror
! 			Maintenance only
  
! 	i386		--target=i386-elf,i386-aout ,-Werror
! 			Mark Kettenis           kettenis@gnu.org
  
! 	i960		(--target=i960-coff broken)
! 			Maintenance only
  
! 	ia64		(--target=ia64-elf broken)
! 			Kevin Buettner		kevinb@cygnus.com
  
! 	m32r		--target=m32r-elf -Werror
! 			Michael Snyder		msnyder@cygnus.com
  
! 	m68hc11		--target=m68hc11-elf ,-Werror
! 			Stephane Carrez		Stephane.Carrez@worldnet.fr
  
! 	m68k		--target=m68k-aout,m68k-coff,m68k-elf ,-Werror
! 			Maintenance only
  
! 	m88k		(?)
! 			Maintenance only
  
! 	mcore		(--target=mcore-elf,mcore-pe broken)
! 			Maintenance only
  
! 	mips		--target=mips-elf,mips64-elf ,-Werror
! 			Andrew Cagney		cagney@cygnus.com
  
! 	mn10200		(--target=mn10200-elf broken)
! 			Maintenance only
  
! 	mn10300		(--target=mn10300-elf broken)
! 			Andrew Cagney		cagney@cygnus.com
  
! 	ns32k		(--target=ns32k-netbsd broken)
! 			Maintenance only
  
! 	pa		(--target=hppa1.1-hp-proelf broken)
! 			Jeff Law		law@cygnus.com
! 
! 	powerpc		(--target=powerpc-eabi,powerpcle-eabi broken)
! 			Kevin Buettner		kevinb@cygnus.com
  			Nick Duffek		nsd@cygnus.com
  
  	pyramid		OBSOLETE
  
! 	romp		(?)
! 			Maintenance only
  
! 	rs6000		--target=rs6000-ibm-aix3.2,rs6000-ibm-aix4.1 ,-Werror
! 			(see rs6000 native and ppc target)
  
! 	sh		(--target=sh-hms,sh-elf broken)
! 			Elena Zannoni		ezannoni@cygnus.com
  
! 	sparc		--target=sparc-elf,sparc64-elf ,-Werror
! 			David Taylor		taylor@cygnus.com
  
  	tahoe		OBSOLETE
+ 
+ 	tic80		(--target=tic80-coff broken)
+ 			Maintenance only
+ 
+ 	v850		(--target=v850-elf broken)
+ 			Maintenance only
+ 
+ 	vax		--target=vax-dec-vms5.5 ,-Werror
+ 			Maintenance only
+ 
+ 	w65		(--target=w64 broken)
+ 			Maintenance only
  
! 	z8k		(--target=z8k-coff broken)
! 			Maintenance only
  
  All maintainers can make arbitrary changes to OBSOLETE targets.
  
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.53
diff -p -r1.53 configure.in
*** configure.in	2000/12/21 16:16:17	1.53
--- configure.in	2001/01/18 11:55:47
*************** fi
*** 594,600 ****
  # NOTE: If you add to this list, remember to update
  # gdb/doc/gdbint.texinfo.
  build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
! -Wformat -Wparentheses -Wpointer-arith -Wuninitialized"
  # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
  # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
  # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual
--- 594,600 ----
  # NOTE: If you add to this list, remember to update
  # gdb/doc/gdbint.texinfo.
  build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
! -Wformat -Wparentheses -Wpointer-arith"
  # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
  # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
  # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]