dbxout.c (get_lang_number): Do not define if DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is...
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 22 Sep 2004 16:58:15 +0000 (16:58 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 22 Sep 2004 16:58:15 +0000 (12:58 -0400)
* dbxout.c (get_lang_number): Do not define if
DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined.

From-SVN: r87868

gcc/ChangeLog
gcc/dbxout.c

index 2f374f1b687b62a8b0858c7d2ffcead26a6733de..4ebfab5e835cec34af770353cf759dec6840fdce 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-22  David Edelsohn  <edelsohn@gnu.org>
+
+       * dbxout.c (get_lang_number): Do not define if
+       DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined.
+
 2004-09-22  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
 
        PR target/15583
index f822feef7992e7099833943fdb186ce285cd59e4..22eaf27dfb760b060417c48f5178df1d0016d57a 100644 (file)
@@ -343,7 +343,9 @@ static void emit_pending_bincls         (void);
 static inline void emit_pending_bincls_if_required (void);
 
 static void dbxout_init (const char *);
+#ifndef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
 static unsigned int get_lang_number (void);
+#endif
 static void dbxout_finish (const char *);
 static void dbxout_start_source_file (unsigned, const char *);
 static void dbxout_end_source_file (unsigned);
@@ -490,6 +492,7 @@ dbxout_function_end (void)
 }
 #endif /* DBX_DEBUGGING_INFO */
 
+#ifndef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
 /* Get lang description for N_SO stab.  */
 
 static unsigned int
@@ -513,6 +516,7 @@ get_lang_number (void)
     return 0;
 
 }
+#endif
 
 /* At the beginning of compilation, start writing the symbol table.
    Initialize `typevec' and output the standard data types of C.  */