Browse Source

* top.c (execute_command): Fix uninitialized variable error.

msnyder-reverse-20080609-branch
Ulrich Weigand 19 years ago
parent
commit
2f77b315eb
  1. 4
      gdb/ChangeLog
  2. 2
      gdb/top.c

4
gdb/ChangeLog

@ -1,3 +1,7 @@
2008-03-17 Ulrich Weigand <uweigand@de.ibm.com>
* top.c (execute_command): Fix uninitialized variable error.
2008-03-16 Nick Hudson <nick.hudson@dsl.pipex.com>
* Makefile.in (amd64nbsd-nat.o): New dependency.

2
gdb/top.c

@ -412,7 +412,7 @@ execute_command (char *p, int from_tty)
char *line;
struct continuation_arg *arg1;
struct continuation_arg *arg2;
long time_at_cmd_start;
long time_at_cmd_start = 0;
#ifdef HAVE_SBRK
long space_at_cmd_start = 0;
#endif

Loading…
Cancel
Save