* partial-stab.h: Convert single rindex use to strrchr.

* mipsread.c, dbxread.c:  Remove troublesome inclusion of non-
	standard <strings.h> file, now that the only single use of
	rindex in the gdb source files is gone.
This commit is contained in:
Fred Fish 1992-06-17 18:14:22 +00:00
parent fa0bcaa3a5
commit 323227fefa
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Wed Jun 17 11:10:40 1992 Fred Fish (fnf@cygnus.com)
* partial-stab.h: Convert single rindex use to strrchr.
* mipsread.c, dbxread.c: Remove troublesome inclusion of non-
standard <strings.h> file, now that the only single use of
rindex in the gdb source files is gone.
Tue Jun 16 22:17:49 1992 Fred Fish (fnf@cygnus.com)
* mipsread.c: Undo ill effects from including <strings.h>,

View file

@ -202,7 +202,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
If pst exists, is empty, and has a filename ending in '/',
we assume the previous N_SO was a directory name. */
p = rindex(namestring, '/');
p = strrchr (namestring, '/');
if (p && *(p+1) == '\000')
{
dir_so_symnum = symnum;