projects
/
platform
/
upstream
/
gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 7.9
[platform/upstream/gdb.git]
/
gdb
/
c-lang.c
diff --git
a/gdb/c-lang.c
b/gdb/c-lang.c
index
765a6b0
..
4b44b95
100644
(file)
--- a/
gdb/c-lang.c
+++ b/
gdb/c-lang.c
@@
-1,6
+1,6
@@
/* C language support routines for GDB, the GNU debugger.
/* C language support routines for GDB, the GNU debugger.
- Copyright (C) 1992-201
4
Free Software Foundation, Inc.
+ Copyright (C) 1992-201
5
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-27,15
+27,12
@@
#include "c-lang.h"
#include "valprint.h"
#include "macroscope.h"
#include "c-lang.h"
#include "valprint.h"
#include "macroscope.h"
-#include "gdb_assert.h"
#include "charset.h"
#include "charset.h"
-#include <string.h>
#include "demangle.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include <ctype.h>
#include "demangle.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include <ctype.h>
-#include "exceptions.h"
#include "gdbcore.h"
extern void _initialize_c_language (void);
#include "gdbcore.h"
extern void _initialize_c_language (void);
@@
-868,6
+865,8
@@
const struct language_defn c_language_defn =
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&c_varobj_ops,
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&c_varobj_ops,
+ c_get_compile_context,
+ c_compute_program,
LANG_MAGIC
};
LANG_MAGIC
};
@@
-993,6
+992,8
@@
const struct language_defn cplus_language_defn =
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&cplus_varobj_ops,
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&cplus_varobj_ops,
+ NULL,
+ NULL,
LANG_MAGIC
};
LANG_MAGIC
};
@@
-1036,6
+1037,8
@@
const struct language_defn asm_language_defn =
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&default_varobj_ops,
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&default_varobj_ops,
+ NULL,
+ NULL,
LANG_MAGIC
};
LANG_MAGIC
};
@@
-1084,6
+1087,8
@@
const struct language_defn minimal_language_defn =
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&default_varobj_ops,
NULL, /* la_get_symbol_name_cmp */
iterate_over_symbols,
&default_varobj_ops,
+ NULL,
+ NULL,
LANG_MAGIC
};
LANG_MAGIC
};