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]

[patch] TODO more cleanups


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
  			======================
  

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