X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fc-lang.c;h=0438f4bd088350edd0d3589446fbedb96276b447;hb=d55e5aa6b29906346c51ad00e6a9b112590aa294;hp=5ad580182c04ee89797d3a93f643341b5b69296e;hpb=b4be9fadea469e2c937c81a8f1d3243206f9bcfc;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 5ad580182c..0438f4bd08 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -1,6 +1,6 @@ /* C language support routines for GDB, the GNU debugger. - Copyright (C) 1992-2018 Free Software Foundation, Inc. + Copyright (C) 1992-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -18,23 +18,27 @@ along with this program. If not, see . */ #include "defs.h" -#include "symtab.h" -#include "gdbtypes.h" -#include "expression.h" -#include "parser-defs.h" -#include "language.h" -#include "varobj.h" + +/* Standard C includes. */ +#include + +/* Local non-gdb includes. */ #include "c-lang.h" #include "c-support.h" -#include "valprint.h" -#include "macroscope.h" #include "charset.h" -#include "demangle.h" #include "cp-abi.h" #include "cp-support.h" +#include "demangle.h" +#include "expression.h" #include "gdb_obstack.h" -#include #include "gdbcore.h" +#include "gdbtypes.h" +#include "language.h" +#include "macroscope.h" +#include "parser-defs.h" +#include "symtab.h" +#include "valprint.h" +#include "varobj.h" /* Given a C string type, STR_TYPE, return the corresponding target character set name. */ @@ -1017,8 +1021,8 @@ extern const struct language_defn cplus_language_defn = iterate_over_symbols, cp_search_name_hash, &cplus_varobj_ops, - NULL, - NULL, + cplus_get_compile_context, + cplus_compute_program, LANG_MAGIC };