diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-27 19:16:47 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-27 19:16:47 +0000 |
commit | 74fb91be98e302d465b5770e0f5b661fa96d5d46 (patch) | |
tree | 0e353a80c4b024f7528dfe74799638c73cac90ed /gdb | |
parent | 5b88adf7a241897a0752ed4c44686d6ba95796bc (diff) | |
download | gdb-74fb91be98e302d465b5770e0f5b661fa96d5d46.zip gdb-74fb91be98e302d465b5770e0f5b661fa96d5d46.tar.gz gdb-74fb91be98e302d465b5770e0f5b661fa96d5d46.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/Makefile.in | 1 | ||||
-rwxr-xr-x | gdb/cadillac.c | 4 | ||||
-rw-r--r-- | gdb/sparc-pinsn.c | 2 |
4 files changed, 12 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5edbc9d..525bb8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b78657e..90ca975 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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. diff --git a/gdb/cadillac.c b/gdb/cadillac.c index ef9e1e8..4f59924 100755 --- a/gdb/cadillac.c +++ b/gdb/cadillac.c @@ -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 diff --git a/gdb/sparc-pinsn.c b/gdb/sparc-pinsn.c index 231a43e..2b232f0 100644 --- a/gdb/sparc-pinsn.c +++ b/gdb/sparc-pinsn.c @@ -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 (®_names[4 * 8]) |