This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] TODO more cleanups
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] TODO more cleanups
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 20 Nov 2000 12:48:10 +1100
FYI,
I've added the following to the list of general cleanups.
To expand a little on the comment attatched to STREQ(). The intention
is that the person rewriting the STREQ() calls does more than hope that
the changes work. For instance, as part of a first pass, you could hack
STREQ() to record the file/line of all calls made as part of the
testsuite run. Just those cases would then be modified.
enjoy,
Andrew
Mon Nov 20 12:22:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
* TODO: Mention ``extern'' and ``STREQ'' cleanups.
Index: TODO
===================================================================
RCS file: /cvs/src/src/gdb/TODO,v
retrieving revision 1.52
diff -p -r1.52 TODO
*** TODO 2000/11/03 22:00:56 1.52
--- TODO 2000/11/20 01:42:48
*************** remote_remove_watchpoint, remote_insert_
*** 519,524 ****
--- 519,536 ----
--
+ Eliminate ``extern'' from C files.
+
+ --
+
+ Replace ``STREQ()'' et.al. with ``strcmp() == 0'' et.al.
+
+ Extreme care is recommeded - perhaps only modify tests that are
+ exercised by the testsuite (as determined using some type of code
+ coverage analysis).
+
+ --
+
New Features and Fixes
======================