* sparc-pinsn.c: Use <string.h> rather than "string.h", for

consistency with all other gdb files.
	* cadillac.c:  Use <string.h> rather than <strings.h>.
	* cadillac.c (kernel_dispatch):  Convert rindex usage to strrchr.
	* Makefile.in (MAKE):  Remove definition for consistency with
	other Makefile.in files and to fix problem with recursive makes.
This commit is contained in:
Fred Fish 1992-06-27 19:16:47 +00:00
parent 5b88adf7a2
commit 74fb91be98
4 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,12 @@
Sat Jun 27 12:12:20 1992 Fred Fish (fnf@cygnus.com)
* sparc-pinsn.c: Use <string.h> rather than "string.h", for
consistency with all other gdb files.
* cadillac.c: Use <string.h> rather than <strings.h>.
* cadillac.c (kernel_dispatch): Convert rindex usage to strrchr.
* Makefile.in (MAKE): Remove definition for consistency with
other Makefile.in files and to fix problem with recursive makes.
Fri Jun 26 19:03:23 1992 John Gilmore (gnu at cygnus.com)
* hppahpux-xdep.c (child_xfer_memory): Avoid PT_WDUSER because it

View File

@ -76,7 +76,6 @@ srcdir = .
BISON=yacc
YACC=$(BISON)
MAKE=make
# Documentation (gdb.dvi) needs either GNU m4 or SysV m4;
# Berkeley/Sun don't have quite enough.

View File

@ -43,7 +43,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <signal.h>
#include <sys/errno.h>
#include <termios.h>
#include <strings.h>
#include <string.h>
/* Non-zero means that we're doing the cadillac interface. */
int cadillac = 0;
@ -949,7 +949,7 @@ kernel_dispatch(queue)
char *tail;
int skipped;
tail = rindex(req->newBreakpoint.fileName.text, '/');
tail = strrchr(req->newBreakpoint.fileName.text, '/');
if (!tail)
tail = req->newBreakpoint.fileName.text;
else

View File

@ -21,7 +21,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symtab.h"
#include "opcode/sparc.h"
#include "gdbcore.h"
#include "string.h"
#include <string.h>
#include "target.h"
#define freg_names (&reg_names[4 * 8])