summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
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
commit0e349f56cf38061b0df70771d23cb1b526eb49c0 (patch)
treed6ee58cac591d65bfb17dd198d76200b1e113ec6 /gdb/inferior.h
parent6e5d81b6bdc95cdcff382e93808e547e9dbb7c4a (diff)
downloadgdb-0e349f56cf38061b0df70771d23cb1b526eb49c0.tar.gz
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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 79fe5693d1d..46597452b15 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