This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[maint] et.al.
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [maint] et.al.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 17 May 2000 18:53:13 +1000
- Organization: Cygnus Solutions
FYI,
I've committed the attached. Things to note:
o Jim Blandy is busy over coming weeks /
months and is taking a back seat on
the day-to-day linux stuff. He's
definitly interested and wants to
participate in more serious architectural
issues. Looking forward to when Jim
is back fully on line.
o gdbarch - As far as I'm concerned
maintainers are free to add entries
to the architecture vector.
I figure that there are now sufficent
examples to cover all the easy cases.
I suspect people will still throw
hard cases (such as mips_extra_func_info)
my way :-).
Don't forget to keep other maintainers
in the loop.
o more random TODOs.
enjoy,
Andrew
Wed May 17 18:27:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (build_warnings): List possible warnings.
* configure: Regenerate.
* TODO: More updates.
* MAINTAINERS: Add Gary Thomas and Joern Renneck to Write After
Approval.
Index: MAINTAINERS
===================================================================
RCS file: /cvs/src/src/gdb/MAINTAINERS,v
retrieving revision 1.33
diff -p -r1.33 MAINTAINERS
*** MAINTAINERS 2000/05/02 08:34:08 1.33
--- MAINTAINERS 2000/05/17 08:42:40
*************** djgpp native Eli Zaretskii eliz@gnu.or
*** 61,68 ****
MS Windows (N.T., CE, '00) host & native
Chris Faylor cgf@cygnus.com
GNU/Linux/x86 native & host
- Jim Blandy jimb@cygnus.com
Mark Kettenis kettenis@gnu.org
GNU/Linux PPC native Kevin Buettner kevinb@cygnus.com
hurd native Mark Kettenis kettenis@gnu.org
macos host & native Stan Shebs shebs@apple.com
--- 61,68 ----
MS Windows (N.T., CE, '00) host & native
Chris Faylor cgf@cygnus.com
GNU/Linux/x86 native & host
Mark Kettenis kettenis@gnu.org
+ Jim Blandy jimb@cygnus.com
GNU/Linux PPC native Kevin Buettner kevinb@cygnus.com
hurd native Mark Kettenis kettenis@gnu.org
macos host & native Stan Shebs shebs@apple.com
*************** Solaris/SPARC native & host
*** 80,85 ****
--- 80,87 ----
Core: Generic components used by all of GDB
generic arch support Andrew Cagney cagney@cygnus.com
+ Any host/target maintainer can add to
+ gdbarch.{c,h,sh}. Send tricky ones to cagney.
target vector Andrew Cagney cagney@cygnus.com
main (main.c, top.c) Elena Zannoni ezannoni@cygnus.com
event loop Elena Zannoni ezannoni@cygnus.com
*************** H.J. Lu hjl@lucon.org
*** 164,169 ****
--- 166,172 ----
Nick Clifton nickc@cygnus.com
Jonathan Larmour jlarmour@redhat.co.uk
Glen McCready gkm@cygnus.com
+ Gary Thomas gthomas@redhat.com
* Indicates folks we need to get Kerberos/SSH accounts ready so they
Index: TODO
===================================================================
RCS file: /cvs/src/src/gdb/TODO,v
retrieving revision 1.20
diff -p -r1.20 TODO
*** TODO 2000/05/16 09:00:20 1.20
--- TODO 2000/05/17 08:42:45
*************** supress unused parameter warnings.
*** 209,214 ****
--- 209,229 ----
--
+ Eliminate more compiler warnings.
+
+ Of course there also needs to be the usual debate over which warnings
+ are valid and how to best go about this.
+
+ One method: choose a single option; get agreement that it is
+ reasonable; try it out to see if there isn't anything silly about it
+ (-Wunused-parameters is an example of that) then incrementally hack
+ away.
+
+ The other method is to enable all warnings and eliminate them from one
+ file at a time.
+
+ --
+
Delete macro TARGET_BYTE_ORDER_SELECTABLE.
Patches in the database.
*************** Is there a command already?
*** 425,430 ****
--- 440,457 ----
--
+ Eliminate PTR. ISO-C allows ``void *''.
+
+ --
+
+ Eliminate abort ().
+
+ GDB should never abort. GDB should either throw ``error ()'' or
+ ``internal_error ()''. Better still GDB should naturally unwind with
+ an error status.
+
+ --
+
Architectural Changes
=====================
*************** code, initially a blanket rename of writ
*** 575,580 ****
--- 602,613 ----
deprecated_write_register_bytes() would help.
Following that would, finaly be the corresponding changes to the target.
+
+ --
+
+ Fix ``I'm sorry, Dave, I can't do that.'' from symfile.c.
+
+ This requires internationalization.
--
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.22
diff -p -r1.22 configure.in
*** configure.in 2000/05/12 04:37:00 1.22
--- configure.in 2000/05/17 08:42:59
*************** if test "${enable_netrom}" = "yes"; then
*** 482,491 ****
fi
build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
-Wformat -Wparentheses -Wpointer-arith"
! # Not yet: -Wall -Wpointer-arith -Wstrict-prototypes
! # -Wmissing-prototypes -Wmissing-declarations
AC_ARG_ENABLE(build-warnings,
[ --enable-build-warnings Enable build-time compiler warnings if gcc is used],
[case "${enableval}" in
--- 482,497 ----
fi
+ # Don't add -Wall or -Wunused, they include -Wunused-parameter which
+ # causes noise.
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
! # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
! # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
! # -Woverloaded-virtual -Winline -Werror"
AC_ARG_ENABLE(build-warnings,
[ --enable-build-warnings Enable build-time compiler warnings if gcc is used],
[case "${enableval}" in