aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-02-22 01:58:53 +0000
committerFred Fish <fnf@specifix.com>1996-02-22 01:58:53 +0000
commit6a6a552a2968ef5e551b82cc52b6080781f63a8d (patch)
tree714bb139821abb79a354039093e9e73ad468676f
parentd16ee16d581d32abee69c00cfb277d278ac9586e (diff)
downloadgdb-6a6a552a2968ef5e551b82cc52b6080781f63a8d.zip
gdb-6a6a552a2968ef5e551b82cc52b6080781f63a8d.tar.gz
gdb-6a6a552a2968ef5e551b82cc52b6080781f63a8d.tar.bz2
* standalone.c (open, _initialize_standalone): Fix obvious typos
reported by Martin Pool <martin@citr.uq.oz.au>.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/standalone.c7
2 files changed, 7 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5056421..76fe07c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Wed Feb 21 19:00:21 1996 Fred Fish <fnf@ninemoons.com>
+
+ * standalone.c (open, _initialize_standalone): Fix obvious typos
+ reported by Martin Pool <martin@citr.uq.oz.au>.
+
Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
* solib.c (solib_create_inferior_hook): Fix thinko.
diff --git a/gdb/standalone.c b/gdb/standalone.c
index 52c8ee2..13fc476 100644
--- a/gdb/standalone.c
+++ b/gdb/standalone.c
@@ -141,8 +141,7 @@ open (filename, modes)
return -1;
}
- for (next - files_start; * (int *) next;
- next += * (int *) next)
+ for (next = files_start; * (int *) next; next += * (int *) next)
{
if (!STRCMP (next + 4, filename))
{
@@ -584,9 +583,7 @@ _initialize_standalone ()
/* Find the end of the data on files. */
- for (next - files_start; * (int *) next;
- next += * (int *) next)
- {}
+ for (next = files_start; * (int *) next; next += * (int *) next) {}
/* That is where free storage starts for sbrk to give out. */
next_free = next;