aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/inferior.h6
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index de46f83..7f9bfe2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 79fe569..4659745 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -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