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.
+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
BISON=yacc
YACC=$(BISON)
-MAKE=make
# Documentation (gdb.dvi) needs either GNU m4 or SysV m4;
# Berkeley/Sun don't have quite enough.
#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;
char *tail;
int skipped;
- tail = rindex(req->newBreakpoint.fileName.text, '/');
+ tail = strrchr(req->newBreakpoint.fileName.text, '/');
if (!tail)
tail = req->newBreakpoint.fileName.text;
else
#include "symtab.h"
#include "opcode/sparc.h"
#include "gdbcore.h"
-#include "string.h"
+#include <string.h>
#include "target.h"
#define freg_names (®_names[4 * 8])