aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2009-05-20 12:44:44 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2009-05-20 12:44:44 +0000
commitdbb6088f89fe3cc22845097dc17f9f6a06682be1 (patch)
treef1aa85cae9c808d63e36ad9a6513afc74266aab3 /gcc/dbxout.c
parent7ec492570b77735583dceb28b091b4fa71ea1320 (diff)
downloadgcc-dbb6088f89fe3cc22845097dc17f9f6a06682be1.zip
gcc-dbb6088f89fe3cc22845097dc17f9f6a06682be1.tar.gz
gcc-dbb6088f89fe3cc22845097dc17f9f6a06682be1.tar.bz2
gstab.h (stab_code_type): Define, to be used instead of the __stab_debug_code enum, made anonymous.
* 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. From-SVN: r147734
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index eb0fcee..9ec0525 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -275,8 +275,6 @@ static const char *base_input_file;
#include "gstab.h"
-#define STAB_CODE_TYPE enum __stab_debug_code
-
/* 1 if PARM is passed to this function in memory. */
#define PARM_PASSED_IN_MEMORY(PARM) \
@@ -326,7 +324,7 @@ static void dbxout_type_name (tree);
static void dbxout_class_name_qualifiers (tree);
static int dbxout_symbol_location (tree, tree, const char *, rtx);
static void dbxout_symbol_name (tree, const char *, int);
-static void dbxout_common_name (tree, const char *, STAB_CODE_TYPE);
+static void dbxout_common_name (tree, const char *, stab_code_type);
static const char *dbxout_common_check (tree, int *);
static void dbxout_global_decl (tree);
static void dbxout_type_decl (tree, int);
@@ -842,7 +840,7 @@ do { \
to DBX_FINISH_STABS; see above for details. */
static void
-dbxout_finish_complex_stabs (tree sym, STAB_CODE_TYPE code,
+dbxout_finish_complex_stabs (tree sym, stab_code_type code,
rtx addr, const char *label, int number)
{
int line ATTRIBUTE_UNUSED;
@@ -2852,7 +2850,7 @@ static int
dbxout_symbol_location (tree decl, tree type, const char *suffix, rtx home)
{
int letter = 0;
- STAB_CODE_TYPE code;
+ stab_code_type code;
rtx addr = 0;
int number = 0;
int regno = -1;
@@ -3157,7 +3155,7 @@ dbxout_symbol_name (tree decl, const char *suffix, int letter)
emits the N_BCOMM and N_ECOMM stabs. */
static void
-dbxout_common_name (tree decl, const char *name, STAB_CODE_TYPE op)
+dbxout_common_name (tree decl, const char *name, stab_code_type op)
{
dbxout_begin_complex_stabs ();
stabstr_S (name);
@@ -3325,7 +3323,7 @@ dbxout_parms (tree parms)
{
tree eff_type;
char letter;
- STAB_CODE_TYPE code;
+ stab_code_type code;
int number;
/* Perform any necessary register eliminations on the parameter's rtl,