diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/standalone.c | 7 |
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; |