aboutsummaryrefslogtreecommitdiff
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
commita4acd088c9415fce22f2acbc5a9ca3c0dc89e874 (patch)
tree31ade9942a8bd3b89a5ddaa0b07a3049bb3ab577 /gdb/inferior.h
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.
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 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