aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-17 18:14:22 +0000
committerFred Fish <fnf@specifix.com>1992-06-17 18:14:22 +0000
commit323227fefa29d2d3f52b0cbc2bf0b6e63e064162 (patch)
tree27904461e74599f23e713d54cf9e87845c302dd6 /gdb
parentfa0bcaa3a526dfdc149c6e04b3b97775f1170c08 (diff)
downloadgdb-323227fefa29d2d3f52b0cbc2bf0b6e63e064162.zip
gdb-323227fefa29d2d3f52b0cbc2bf0b6e63e064162.tar.gz
gdb-323227fefa29d2d3f52b0cbc2bf0b6e63e064162.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/partial-stab.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2744139..1fec6e3 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 <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>,
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index 862cfad..6b6e3de 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;