From 323227fefa29d2d3f52b0cbc2bf0b6e63e064162 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 17 Jun 1992 18:14:22 +0000 Subject: [PATCH] * partial-stab.h: Convert single rindex use to strrchr. * mipsread.c, dbxread.c: Remove troublesome inclusion of non- standard file, now that the only single use of rindex in the gdb source files is gone. --- gdb/ChangeLog | 7 +++++++ gdb/partial-stab.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 27441390aea..1fec6e373d2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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 , diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 862cfad3b2f..6b6e3de9a31 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -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; -- 2.30.2