diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-17 18:14:22 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-17 18:14:22 +0000 |
commit | 323227fefa29d2d3f52b0cbc2bf0b6e63e064162 (patch) | |
tree | 27904461e74599f23e713d54cf9e87845c302dd6 /gdb/partial-stab.h | |
parent | fa0bcaa3a526dfdc149c6e04b3b97775f1170c08 (diff) | |
download | gdb-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/partial-stab.h')
-rw-r--r-- | gdb/partial-stab.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |