summaryrefslogtreecommitdiff
path: root/gcc/gstab.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gstab.h')
-rw-r--r--gcc/gstab.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/gstab.h b/gcc/gstab.h
index 7f82b55ec10..fccb296cd9a 100644
--- a/gcc/gstab.h
+++ b/gcc/gstab.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001, 2009 Free Software Foundation, Inc.
This file is part of GCC.
@@ -21,12 +21,15 @@ along with GCC; see the file COPYING3. If not see
#define __define_stab(NAME, CODE, STRING) NAME=CODE,
-enum __stab_debug_code
+enum
{
#include "stab.def"
LAST_UNUSED_STAB_CODE
};
+/* stabs debug codes really are integers with expressive names. */
+typedef int stab_code_type;
+
#undef __define_stab
#endif /* ! GCC_GSTAB_H */