projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d67c7e
)
* top.c (locate_arg): Call strchr not index.
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Wed, 4 Jan 1995 17:46:40 +0000
(17:46 +0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Wed, 4 Jan 1995 17:46:40 +0000
(17:46 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/top.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 80dcb367cd0316f34586be58392d872d3b6d1cff..4bccb6dd999f0b53f6b969ce2f07bbce404ab10b 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+Wed Jan 4 09:18:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * top.c (locate_arg): Call strchr not index.
+
Tue Jan 3 16:52:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
* ch-exp.y (literal): Recognize NULL.
diff --git
a/gdb/top.c
b/gdb/top.c
index ce199b82165cd0e818d257950c22ed6e3236ec03..894e42e920608447c06a11e28ab3803cbfa44256 100644
(file)
--- a/
gdb/top.c
+++ b/
gdb/top.c
@@
-993,7
+993,7
@@
static char *
locate_arg (p)
char *p;
{
- while (p =
index
(p, '$'))
+ while (p =
strchr
(p, '$'))
{
if (strncmp (p, "$arg", 4) == 0 && isdigit (p[4]))
return p;