diff options
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 3f457b594b6..e4c797894c0 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -2689,7 +2689,7 @@ static void dbxout_prepare_symbol (tree decl ATTRIBUTE_UNUSED) { #ifdef WINNING_GDB - const char *filename = TREE_FILENAME (decl); + const char *filename = DECL_SOURCE_FILE (decl); dbxout_source_file (asmfile, filename); #endif @@ -2703,7 +2703,7 @@ dbxout_finish_symbol (tree sym) #else int line = 0; if (use_gnu_debug_info_extensions && sym != 0) - line = TREE_LINENO (sym); + line = DECL_SOURCE_LINE (sym); fprintf (asmfile, "\",%d,0,%d,", current_sym_code, line); if (current_sym_addr) |