X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fmacroscope.c;h=c025eb7d24a3dd6ebe75a390a05787b9d515048c;hb=dadef93096fd397c3acf2078bcf6b526ff4e0da4;hp=63e6ebe7d9d807439f10d922d29098841cfd5705;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/macroscope.c b/gdb/macroscope.c index 63e6ebe..c025eb7 100644 --- a/gdb/macroscope.c +++ b/gdb/macroscope.c @@ -1,5 +1,5 @@ /* Functions for deciding which macros are currently in scope. - Copyright (C) 2002-2013 Free Software Foundation, Inc. + Copyright (C) 2002-2014 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of GDB. @@ -77,7 +77,7 @@ sal_macro_scope (struct symtab_and_line sal) complaint (&symfile_complaints, _("symtab found for `%s', but that file\n" "is not covered in the compilation unit's macro information"), - sal.symtab->filename); + symtab_to_filename_for_display (sal.symtab)); } return ms; @@ -159,7 +159,7 @@ extern initialize_file_ftype _initialize_macroscope; void _initialize_macroscope (void) { - macro_user_macros = new_macro_table (0, 0); + macro_user_macros = new_macro_table (NULL, NULL, NULL); macro_set_main (macro_user_macros, ""); macro_allow_redefinitions (macro_user_macros); }