This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] Remove unused variable control_level
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 07 Jan 2006 12:22:34 +0200
- Subject: [commit] Remove unused variable control_level
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
This seems to be a left-over from year 2000, when scripting commands
were moved to cli/cli-script.c.
Committed as obvious.
2006-01-07 Eli Zaretskii <eliz@gnu.org>
* top.c (control_level): Remove unused variable.
Index: gdb/top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.111
diff -u -r1.111 top.c
--- gdb/top.c 2 Jan 2006 05:50:11 -0000 1.111
+++ gdb/top.c 7 Jan 2006 10:19:05 -0000
@@ -184,9 +184,6 @@
target is off and running, which gdb is doing something else. */
int target_executing = 0;
-/* Level of control structure. */
-static int control_level;
-
/* Sbrk location on entry to main. Used for statistics only. */
#ifdef HAVE_SBRK
char *lim_at_start;