aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-02-06 04:03:23 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-02-06 04:03:23 +0000
commita4acd088c9415fce22f2acbc5a9ca3c0dc89e874 (patch)
tree31ade9942a8bd3b89a5ddaa0b07a3049bb3ab577
parent3557da92098df83ddd2b11e519882ff4af3e01fb (diff)
downloadgdb-a4acd088c9415fce22f2acbc5a9ca3c0dc89e874.zip
gdb-a4acd088c9415fce22f2acbc5a9ca3c0dc89e874.tar.gz
gdb-a4acd088c9415fce22f2acbc5a9ca3c0dc89e874.tar.bz2
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.
-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