diff options
author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-20 12:44:44 +0000 |
---|---|---|
committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-20 12:44:44 +0000 |
commit | c1e61953b2c13e222091954d65b76104f750040d (patch) | |
tree | f1aa85cae9c808d63e36ad9a6513afc74266aab3 /gcc/gstab.h | |
parent | b39bfa08a41158d4b9151c5f0c856620f329ab62 (diff) | |
download | gcc-c1e61953b2c13e222091954d65b76104f750040d.tar.gz |
* gstab.h (stab_code_type): Define, to be used instead of the
__stab_debug_code enum, made anonymous. Add 2009 to the copyright
notice.
* dbxout.c (STAB_CODE_TYPE): Remove #define and replace use
occurrences by stab_code_type.
* mips-tfile.c (STAB_CODE_TYPE): Remove #define, unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147734 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gstab.h')
-rw-r--r-- | gcc/gstab.h | 7 |
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 */ |