Change suggested by Dean Luick <luick@cray.com>
authorChristopher Faylor <me+cygwin@cgf.cx>
Tue, 6 Feb 2001 04:03:23 +0000 (04:03 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Tue, 6 Feb 2001 04:03:23 +0000 (04:03 +0000)
* inferior.h (step_over_calls_kind): Remove trailing comma from last enum
element.
(step_over_calls): Declare as extern rather than global.

gdb/ChangeLog
gdb/inferior.h

index de46f83..7f9bfe2 100644 (file)
@@ -1,3 +1,10 @@
+2001-02-05  Christopher Faylor  <cgf@cygnus.com>
+
+       Change suggested by Dean Luick <luick@cray.com>
+       * inferior.h (step_over_calls_kind): Remove trailing comma from
+       last enum element.
+       (step_over_calls): Declare as extern rather than global.
+
 2001-02-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
 
        * sh-tdep.c: Update copyright.
index 79fe569..4659745 100644 (file)
@@ -348,8 +348,10 @@ enum step_over_calls_kind
   {
     STEP_OVER_NONE,
     STEP_OVER_ALL,
-    STEP_OVER_UNDEBUGGABLE,
-  } step_over_calls;
+    STEP_OVER_UNDEBUGGABLE
+  };
+
+extern enum step_over_calls_kind step_over_calls;
 
 /* If stepping, nonzero means step count is > 1
    so don't print frame next time inferior stops